X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=ece9119924c20b12ef1c2f0908a92dc8323f8884;hp=ffc76080f5f0781eec1aeeda2aae06bc90aed947;hpb=96fcb6d250349cb1c02df44d6e3acdb93c8e7370;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index ffc7608..4be1bcc 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,26 +1,57 @@ -
+ +
- Avatar Image + <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/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>
-
+
+
+
+ + + + +
+
+ + + + +
+
+ · -
⬆
+ <%if ! originalText|match key=parsedText> + · + + <%/if> +
+ · + ↑ +
<%ifnull ! currentSone> + · + <%if !post.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> + ·
@@ -45,6 +98,9 @@
<%/if>
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
<%foreach post.replies reply> <%include include/viewReply.html> @@ -55,6 +111,14 @@ +
+ +
+