From 9d650c4e96208a94f448a31aa481ec4f0965b4e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 1 Aug 2015 22:58:26 +0200 Subject: [PATCH] Include a smaller album preview in replies --- src/main/resources/templates/include/viewReply.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index ec8b447..765b03f 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -24,6 +24,14 @@ <%if !shortText|match value=parsedText><%if !raw><%= View.Post.ShowMore|l10n|html><%/if><%/if> <%if !shortText|match value=parsedText><%if !raw><%/if><%/if> + <%foreach parts part> + <%if part.class.simpleName|match value==AlbumPart> + <% part.album.images.random|store key==image> +
+ <%include include/viewAlbum.html album=part.album hideMoveButtons==true> +
+ <%/if> + <%/foreach>
<% reply.time|date format=="MMM d, yyyy, HH:mm:ss">
· -- 2.7.4