X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=a19ee731dd5ead027d74e981296cfc5305ce5815;hpb=d53a79eeb9531a08173431ce2ba19156eeca4a0c;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index a19ee73..4600d45 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,9 +1,9 @@ -
+
- Avatar Image + Avatar Image
@@ -16,50 +16,75 @@ <%/if> <%/if> -
<% post.text>
+ <% post.text|html|store key=originalText text=true> + <% post.text|parse sone=post.sone|store key=parsedText text=true> +
<% originalText>
+
<% parsedText>
- - · -
↑
- <%ifnull ! currentSone> - + · + + <%if ! originalText|match key=parsedText> + · + <%/if> - <%if !post.sone.current> +
· -
- - - - -
-
+ ↑ +
+ <%ifnull ! currentSone> + · + - - + + + -
+ - - + + +
+ <%if !post.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> <%/if> - <%if post.sone.current> + <%if post.sone.local> ·
@@ -79,6 +104,14 @@ +
+ +
+