X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=f8c74520e703a02512cd1f44aee1c41e94d9eeda;hb=47161094684b506f007ae3a4b1911f1186616c51;hp=398aed5ed028a333d1f765697e62978126cd86dd;hpb=da46b62663d50056ddfc5b39b5e8e62423f6c415;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 398aed5..f8c7452 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -1,19 +1,36 @@ -
+ + +
- Avatar Image + Avatar Image
-
<% reply.text>
+ <% reply.text|html|store key=originalText text=true> + <% reply.text|parse sone=reply.sone|store key=parsedText text=true> + <% reply.text|parse sone=reply.sone length=200|store key=shortText text=true> +
<% originalText>
+
<% parsedText>
+
<% shortText>
+ <%if !shortText|match key=parsedText><%if !raw>…<%/if><%/if>
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
· -
↑
+ + <%if ! originalText|match key=parsedText> + · + + <%/if> +
+ · + ↑ +
<%ifnull ! currentSone> + · + <%if !reply.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> <%/if> - <%if !reply.sone.current> + <%if reply.sone.local> · -
- - - - -
-
- - - - -
-
- - - - -
- <%/if> - <%if reply.sone.current>