X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=ac926296e54cb3387e5772fceda9fa20b25d6711;hp=d38441b30fee57e3b2d2052877aa23bf57d26ea3;hpb=ac0a49027e36c54735cf57317718e03872ce1185;p=Sone.git
diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html
index d38441b..4be1bcc 100644
--- a/src/main/resources/templates/include/viewPost.html
+++ b/src/main/resources/templates/include/viewPost.html
@@ -1,21 +1,16 @@
-
+
<% post.time|html>
+
<% post.sone.id|html>
-
- <%if !post.sone.current>
-
-
- <%if post.sone.trust.assigned>
- <% post.sone.trust.explicit>
- <%else>
- <% post.sone.trust.implicit>
- <%/if>
-
+ <%if post.loaded>
+
+ <%else>
+
<%/if>
-
+
class="hidden"<%/if>>
<%ifnull !post.recipient>
â
@@ -25,12 +20,38 @@
<%/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 post.sone.local>
+
·
<%/if>
+
class="hidden"<%/if>>
+ <%= View.Post.NotDownloaded|l10n|html>
+
<%foreach post.replies reply>
<%include include/viewReply.html>
@@ -65,6 +111,14 @@
+
+
+
+