X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewPost.html;h=4600d458d4541122d44c504311105c9378e28b84;hb=9bb096a81834b63f5574c7f7231ad35271afc058;hp=b012d93003934548fadc9adcd1d1a5e164eb97ff;hpb=de4abc27187b7b44b4a470f6c48f1d323973d3e1;p=Sone.git diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index b012d93..4600d45 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,8 +1,9 @@ -
+ +
- Avatar Image + Avatar Image
@@ -15,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> ·
@@ -78,6 +104,14 @@ +
+ +
+