X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=8b7ccb8dd802288469ab4d5e1cf3bba9aa114f9f;hb=400a459052ed5a102142944fe9386c9d25438be4;hp=53352277c8fb04f944b68a401edd608992b3d402;hpb=e8411efc4eaff6418cad496eb34fd7bc260eb9cd;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 5335227..8b7ccb8 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,18 +1,61 @@ -
+ +
- Avatar Image + <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/if>
-
+ class="hidden"<%/if>> -
<% post.text>
+ <%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>
-
+
+
+
+ + + + +
+
+ + + + +
+
+ · -
⬆
+ · + + · + + <%if ! originalText|match key=parsedText> + · + + <%/if> +
+ · + ↑ +
<%ifnull ! currentSone> + · + <%if !post.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> + ·
@@ -37,6 +102,9 @@
<%/if>
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
<%foreach post.replies reply> <%include include/viewReply.html> @@ -47,6 +115,14 @@ +
+ +
+