X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=ca07cf72fd1a516debb26fb423a2f3d4233073de;hp=2fbca43eadf98b58ee778841de6942d8f6d32484;hb=63df577f7ced52acfa93e4a7f329292069d8ba9d;hpb=d03286f9214450a179bc1e2ac942e61a30019d34 diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 2fbca43..ca07cf7 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -1,17 +1,36 @@ - -
+
+ -
- Avatar Image + + <%include include/soneMenu.html class=="sone-reply-menu" sone=reply.sone> +
+ <%ifnull !reply.sone.profile.avatar> + <% reply.sone.profile.avatar|image-link max-width=36 max-height=36 mode=enlarge title="Avatar Image"> + <%else> + Avatar Image + <%/if>
-
<% 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 cut-off-length=core.preferences.postCutOffLength|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 +59,7 @@ -
+ @@ -54,7 +73,7 @@
<%/if> <%/if> - <%if reply.sone.current> + <%if reply.sone.local> ·