X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=ece9119924c20b12ef1c2f0908a92dc8323f8884;hp=53352277c8fb04f944b68a401edd608992b3d402;hpb=967adc51224c9cfc5ce3fe36faa8ecd6e31959b3;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 5335227..4be1bcc 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,18 +1,57 @@ -
+ +
- 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 +98,9 @@
<%/if>
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
<%foreach post.replies reply> <%include include/viewReply.html> @@ -47,6 +111,14 @@ +
+ +
+