X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4be1bcc0c6c205f9ce8fb8014bc4d2cd6a4b7a04;hb=01bc879f0f7f33c5321f3ac1ed9bfccf0ab4b433;hp=5161dfed235810edc2d583cfaac2f2aba0d550f1;hpb=8871424239966323798a4ebd1c7d2c27ba830f1e;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 5161dfe..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>
· ↑ @@ -62,7 +88,7 @@ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> ·
@@ -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 @@ +
+ +
+