Add header for the list of posts on the “view Sone” page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 15:33:53 +0000 (17:33 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 15:33:53 +0000 (17:33 +0200)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/viewSone.html

index d67d3b3..d72d4d8 100644 (file)
@@ -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
index 75c0337..a9b0a21 100644 (file)
@@ -20,6 +20,9 @@
 
                <div id="posts">
                        <%foreach sone.posts post>
+                               <%first>
+                                       <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
+                               <%/first>
                                <%include include/viewPost.html>
                        <%foreachelse>
                                <div><%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html></div>