From: David ‘Bombe’ Roden Date: Wed, 13 Apr 2011 05:56:08 +0000 (+0200) Subject: Include albums in a Sone’s profile. X-Git-Tag: beta-freefall-0.6.2-1~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=27e039cada3b7b80f96405c610fba2836c78cca3;p=Sone.git Include albums in a Sone’s profile. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index a5f423e..5f0a9ee 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -136,6 +136,7 @@ Page.ViewSone.PostList.Title=Posts by {sone} Page.ViewSone.PostList.Text.NoPostYet=This Sone has not yet posted anything. Page.ViewSone.Profile.Title=Profile Page.ViewSone.Profile.Label.Name=Name +Page.ViewSone.Profile.Label.Albums=Albums Page.ViewSone.Replies.Title=Replies to Posts Page.ViewPost.Title=View Post - Sone diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 066adef..87cf400 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -28,6 +28,19 @@
<% sone.niceName|html>
+ <%foreach sone.albums album> + <%first> +
+
<%= Page.ViewSone.Profile.Label.Albums|l10n|html>
+
+ <%/first> + <%album.title|html><%notlast>, <%/notlast> + <%last> +
+
+ <%/last> + <%/foreach> + <%foreach sone.profile.fields field>
<% field.name|html>