X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=b451f2b71b1c0114cb860b5bc61676545ba2a98f;hb=9a254c2af6f176c8a95ef6accfdb288ad159d125;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..b451f2b 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,12 +1,17 @@ -
+ +
- Avatar Image + <%if post.loaded> + Avatar Image + <%else> + Avatar Image + <%/if>
-
+ class="hidden"<%/if>> <%ifnull !post.recipient> → @@ -16,10 +21,36 @@ <%/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 +93,7 @@ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> ·
@@ -72,6 +103,9 @@
<%/if>
+ class="hidden"<%/if>> + <%= View.Post.NotDownloaded|l10n|html> +
<%foreach post.replies reply> <%include include/viewReply.html> @@ -82,6 +116,14 @@ +
+ +
+