X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=ca07cf72fd1a516debb26fb423a2f3d4233073de;hb=0206f400c986a38cd91978059e98838c02af0b99;hp=398bee9221bcb88210206592f4032055ee1c22c2;hpb=2b9b72e203fe8b7dae50b79523f0fe95bc42bacb;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 398bee9..ca07cf7 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -1,19 +1,42 @@ - -
+
+ -
- 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> +
+ · + ↑ +
<%ifnull ! currentSone> + · + <%if !reply.sone.current> + · +
+ + + + +
+
+ + + + +
+
+ + + + +
+ <%/if> <%/if> - <%if !reply.sone.current> + <%if reply.sone.local> · -
- - - - -
-
- - - - -
-
- - - - -
- <%/if> - <%if reply.sone.current>