From 5bff90389f6388de4f04e6795c18d2e3f760db39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 20 Oct 2010 17:33:53 +0200 Subject: [PATCH] =?utf8?q?Add=20header=20for=20the=20list=20of=20posts=20o?= =?utf8?q?n=20the=20=E2=80=9Cview=20Sone=E2=80=9D=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/i18n/sone.en.properties | 2 +- src/main/resources/templates/viewSone.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index d67d3b3..d72d4d8 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -103,7 +103,7 @@ Page.ViewSone.Title=View Sone - Sone Page.ViewSone.Page.TitleWithoutSone=View unknown Sone Page.ViewSone.Page.TitleWithSone=View Sone “{sone}” Page.ViewSone.UnknownSone.Description=This Sone has not yet been retrieved. Please check back in a short time. -Page.ViewSone.PostList.Title=Posts by “{sone}” +Page.ViewSone.PostList.Title=Posts by {sone} Page.ViewSone.PostList.Text.NoPostYet=This Sone has not yet posted anything. Page.ViewSone.UnfollowSone.Text=Unfollow this Sone Page.ViewSone.FollowSone.Text=Follow this Sone diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 75c0337..a9b0a21 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -20,6 +20,9 @@
<%foreach sone.posts post> + <%first> +

<%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html>

+ <%/first> <%include include/viewPost.html> <%foreachelse>
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
-- 2.7.4