From: David ‘Bombe’ Roden Date: Wed, 20 Oct 2010 15:33:53 +0000 (+0200) Subject: Add header for the list of posts on the “view Sone” page. X-Git-Tag: 0.1-RC1~146 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5bff90389f6388de4f04e6795c18d2e3f760db39;p=Sone.git Add header for the list of posts on the “view Sone” page. --- 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>