X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=9c742021ffb2667e7dc90c7fbf94f97d57e6ac5a;hp=82c16c93cb13215fecc069470aaf8e7d1197d666;hpb=62521859cae9cd16eb86ba450900170bd7c327f9;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 82c16c9..4be1bcc 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -3,10 +3,14 @@
- 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> @@ -84,7 +113,7 @@