X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=ee05a67b3f1e796b6c4bdcd709ef0983103c455f;hp=b4f570ffe6192df10da8a6d44bec6e97101b1b61;hpb=5c64637098471f7cd59fcd3f1ce873c0f394c13d;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index b4f570f..4be1bcc 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,12 +1,16 @@ -
+
- Avatar Image + <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/if>
-
+ class="hidden"<%/if>> <%ifnull !post.recipient> → @@ -16,10 +20,32 @@ <%/if> <%/if> -
<% post.text|parse sone=post.sone>
+ <% 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>
· ↑ @@ -72,6 +98,9 @@ <%/if>
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
<%foreach post.replies reply> <%include include/viewReply.html> @@ -82,6 +111,14 @@ +
+ +
+