X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=ece9119924c20b12ef1c2f0908a92dc8323f8884;hp=1f0020c29c105d9cc0008bfd93fecdd748880cea;hpb=c8f518f638aa16cf37145561b709d28252de213a;p=Sone.git
diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html
index 1f0020c..4be1bcc 100644
--- a/src/main/resources/templates/include/viewPost.html
+++ b/src/main/resources/templates/include/viewPost.html
@@ -1,62 +1,129 @@
-
-
-
-
-
â¬<% post.likes.size>
- <%ifnull ! currentSone>
-
-
- <%/if>
- <%if post.sone.current>
-
+
+
+
<% post.time|html>
+
<% post.sone.id|html>
+
+ <%if post.loaded>
+
+ <%else>
+
<%/if>
-
- <%foreach post.replies reply>
-
-
-
-
<% reply.text|html>
-
-
-
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
- <%if reply.sone.current>
-
- <%/if>
-
+
+
class="hidden"<%/if>>
+
+ <%ifnull !post.recipient>
+
â
+ <%ifnull post.recipient.identity>
+
+ <%else>
+
+ <%/if>
+ <%/if>
+ <% post.text|html|store key=originalText text=true>
+ <% post.text|parse sone=post.sone|store key=parsedText text=true>
+
<% originalText>
+
<% parsedText>
+
+
+
+
+
- <%/foreach>
-
-
+
·
+
+ <%if ! originalText|match key=parsedText>
+
·
+
+ <%/if>
+
+ ·
+ â<% post.likes.size>
+
+ <%ifnull ! currentSone>
+
·
+
+
+ <%if !post.sone.current>
+
·
+
+
+
+ <%/if>
+ <%/if>
+ <%if post.sone.local>
+
·
+
+ <%/if>
+
+
class="hidden"<%/if>>
+ <%= View.Post.NotDownloaded|l10n|html>
+
+
+ <%foreach post.replies reply>
+ <%include include/viewReply.html>
+ <%/foreach>
+ <%ifnull ! currentSone>
+
+ <%/if>