X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=ec628875c3fabc64b261a7c80612ad3c97566b7e;hb=e699a806f97bd3e8a5e69542306ef30b5cca0ccb;hp=cfe15f1ae11ce4b8cda66f53fa86332e5c59cb35;hpb=62521859cae9cd16eb86ba450900170bd7c327f9;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index cfe15f1..ec62887 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|parse sone=reply.sone>
+ <% 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>
· ↑