X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=43f9981a38cf8ca53af873b7d22a93abc92101ca;hb=acad4aaa7ddf0104d57654e5b272353d8799adeb;hp=ffc76080f5f0781eec1aeeda2aae06bc90aed947;hpb=a57e3b33c5837a40aa08c11fb92f600d928be1ab;p=Sone.git
diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html
index ffc7608..43f9981 100644
--- a/src/main/resources/templates/include/viewPost.html
+++ b/src/main/resources/templates/include/viewPost.html
@@ -1,26 +1,63 @@
-
+
<% 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>
â
<%ifnull post.recipient.identity>
-
+
<%else>
<%/if>
<%/if>
-
<% post.text|html>
+ <% 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 post.sone.local>
+
·
<%/if>
+
class="hidden"<%/if>>
+ <%= View.Post.NotDownloaded|l10n|html>
+
<%foreach post.replies reply>
<%include include/viewReply.html>
@@ -55,6 +117,14 @@
+
+
+
+