From 27e039cada3b7b80f96405c610fba2836c78cca3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 13 Apr 2011 07:56:08 +0200 Subject: [PATCH] =?utf8?q?Include=20albums=20in=20a=20Sone=E2=80=99s=20pro?= =?utf8?q?file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/templates/viewSone.html | 13 +++++++++++++ 2 files changed, 14 insertions(+) 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>
-- 2.7.4