X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;fp=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FviewReply.html;h=1ef8f1352a595695c4d30dad8972dcae328d76d5;hb=579f882ba9cc899613ef840d421db898b3ebbd73;hp=1ef4d994dc7272d72f062d8e1aa520615456cd66;hpb=b86b2cbef3b08619f99fb7aa68aaf55fab7bfcd2;p=Sone.git diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 1ef4d99..1ef8f13 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -15,19 +15,20 @@
<% reply.text|html|store key==originalText text==true> - <% reply.text|parse sone=reply.sone|render|store key==parsedText text==true> - <% reply.text|parse sone=reply.sone length=core.preferences.charactersPerPost cut-off-length=core.preferences.postCutOffLength|render|store key==shortText text==true> + <% reply.text|parse sone=reply.sone|store key==parsedText> + <% parsedText|render|store key==renderedText text==true> + <% parsedText|shorten length=core.preferences.charactersPerPost cut-off-length=core.preferences.postCutOffLength|render|store key==shortText text==true>
<% originalText>
-
<% parsedText>
-
<% shortText>
- <%if !shortText|match value=parsedText><%if !raw><%= View.Post.ShowMore|l10n|html><%/if><%/if> - <%if !shortText|match value=parsedText><%if !raw><%/if><%/if> +
<% renderedText>
+
<% shortText>
+ <%if !shortText|match value=renderedText><%if !raw><%= View.Post.ShowMore|l10n|html><%/if><%/if> + <%if !shortText|match value=renderedText><%if !raw><%/if><%/if>
<% reply.time|date format=="MMM d, yyyy, HH:mm:ss">
· - <%if ! originalText|match value=parsedText> + <%if ! originalText|match value=renderedText> ·
<%= View.Post.ShowSource|l10n|html>
<%/if>