Show page title when browsing albums of a Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Mar 2011 20:04:33 +0000 (21:04 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Mar 2011 20:04:33 +0000 (21:04 +0100)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/imageBrowser.html

index d160707..b1c4243 100644 (file)
@@ -159,6 +159,7 @@ Page.UnfollowSone.Title=Unfollow Sone - Sone
 Page.ImageBrowser.Title=Image Browser - Sone
 Page.ImageBrowser.Album.Title=Album “{album}”
 Page.ImageBrowser.Album.Error.NotFound.Text=The requested album could not be found. It is possible that it has not yet been downloaded, or that it has been deleted.
+Page.ImageBrowser.Sone.Title=Albums of {sone}
 Page.ImageBrowser.Sone.Error.NotFound.Text=The requested Sone could not be found. It is possible that it has not yet been downloaded.
 Page.ImageBrowser.CreateAlbum.Button.CreateAlbum=Create Album
 
index bb3f97a..abb6132 100644 (file)
@@ -53,6 +53,8 @@
 
                <%else>
 
+                       <h1><%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html></h1>
+
                        <%foreach sone.albums album>
                                <div class="album">
                                        <div class="name"><a href="imageBrowser.html?album=<% album.id|html>"><% album.name|html></a></div>