X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=ee7299e02cf5502bc7246a8391bf4e6937283b74;hb=0df5e91852f737d760c5a9f54c5667309fbadcc2;hp=2fbca43eadf98b58ee778841de6942d8f6d32484;hpb=d03286f9214450a179bc1e2ac942e61a30019d34;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 2fbca43..ee7299e 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -1,17 +1,32 @@ - -
+
+ -
- Avatar Image + + <%include include/soneMenu.html class=="sone-reply-menu" sone=reply.sone> +
+ 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=core.preferences.charactersPerPost|store key=shortText text=true> +
<% originalText>
+
<% parsedText>
+
<% shortText>
+ <%if !shortText|match key=parsedText><%if !raw><%= View.Post.ShowMore|l10n|html><%/if><%/if> + <%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>
· ↑ @@ -40,7 +55,7 @@ -
+ @@ -54,7 +69,7 @@
<%/if> <%/if> - <%if reply.sone.current> + <%if reply.sone.local> ·