From: David ‘Bombe’ Roden Date: Wed, 21 Sep 2011 09:26:23 +0000 (+0200) Subject: Show links to all albums in the Sone context menu. X-Git-Tag: 0.7^2~2^2~51 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=62e80b75cfaaa563efa49c686d383b7cb5f8dd27;p=Sone.git Show links to all albums in the Sone context menu. --- diff --git a/src/main/resources/templates/include/soneMenu.html b/src/main/resources/templates/include/soneMenu.html index e755662..7422e94 100644 --- a/src/main/resources/templates/include/soneMenu.html +++ b/src/main/resources/templates/include/soneMenu.html @@ -7,6 +7,15 @@ (<% =View.Post.WebOfTrustLink|l10n|html>)
<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size>
+ <%foreach sone.albums album> + <%first> +
<% =Page.ViewSone.Profile.Albums.Text.All|l10n|html>, + <%/first> + <% album.title|html><%notlast>, <%/notlast> + <%last> +
+ <%/last> + <%/foreach> <%if !sone.local>
<%= View.Sone.Button.FollowSone|l10n|html>