X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=ca07cf72fd1a516debb26fb423a2f3d4233073de;hb=63df577f7ced52acfa93e4a7f329292069d8ba9d;hp=5dc26fbb21aca8109ad0b1e82b8aba8fc74ba5ec;hpb=ee05a67b3f1e796b6c4bdcd709ef0983103c455f;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 5dc26fb..ca07cf7 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -1,20 +1,32 @@ -
+
-
- 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|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>
+
<% 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> ·