From: David ‘Bombe’ Roden Date: Tue, 21 Jun 2011 07:41:34 +0000 (+0200) Subject: Allow expansion by linking to post for non-javascript users. X-Git-Tag: 0.6.6^2~65 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=ccb339cbefdb073f17280707641ed19f7a8ff033 Allow expansion by linking to post for non-javascript users. --- diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 50de490..04e467c 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -27,7 +27,7 @@
<% originalText>
<% parsedText>
<% shortText>
- <%if !shortText|match key=parsedText><%if !raw>…<%/if><%/if> + <%if !shortText|match key=parsedText><%if !raw>…<%/if><%/if>
diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 1a435f1..f8c7452 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -15,7 +15,7 @@
<% originalText>
<% parsedText>
<% shortText>
- <%if !shortText|match key=parsedText><%if !raw>…<%/if><%/if> + <%if !shortText|match key=parsedText><%if !raw>…<%/if><%/if>
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">