X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=43f9981a38cf8ca53af873b7d22a93abc92101ca;hb=acad4aaa7ddf0104d57654e5b272353d8799adeb;hp=a19ee731dd5ead027d74e981296cfc5305ce5815;hpb=02de134dcf3d4500ae02320aab2dae827d499fa1;p=Sone.git
diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html
index a19ee73..43f9981 100644
--- a/src/main/resources/templates/include/viewPost.html
+++ b/src/main/resources/templates/include/viewPost.html
@@ -1,12 +1,18 @@
-
+
<% post.time|html>
<% post.sone.id|html>
-
-
+
<% post.sone.local>
+ <%include include/soneMenu.html class=="sone-post-menu" sone=post.sone>
+
+ <%if post.loaded>
+
+ <%else>
+
+ <%/if>
-
+
class="hidden"<%/if>>
<%ifnull !post.recipient>
â
@@ -16,13 +22,42 @@
<%/if>
<%/if>
-
<% post.text>
+ <% post.text|html|store key=originalText text=true>
+ <% post.text|parse sone=post.sone|store key=parsedText text=true>
+
<% originalText>
+
<% parsedText>
-
+
+
+
+
+
+
·
·
-
â<% post.likes.size>
+
+
·
+
+ <%if ! originalText|match key=parsedText>
+
·
+
+ <%/if>
+
+ ·
+ â<% post.likes.size>
+
<%ifnull ! currentSone>
+
·
+ <%if !post.sone.current>
+
·
+
+
+
+ <%/if>
<%/if>
- <%if !post.sone.current>
-
·
-
-
-
- <%/if>
- <%if post.sone.current>
+ <%if post.sone.local>
·
<%/if>
+
class="hidden"<%/if>>
+ <%= View.Post.NotDownloaded|l10n|html>
+
<%foreach post.replies reply>
<%include include/viewReply.html>
@@ -79,6 +117,14 @@
+
+
+
+