Add link to all albums to profile page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 21 Sep 2011 09:17:21 +0000 (11:17 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 21 Sep 2011 09:17:21 +0000 (11:17 +0200)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/viewSone.html

index 51cbe9d..903eb6a 100644 (file)
@@ -150,6 +150,7 @@ 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.Profile.Albums.Text.All=All albums
 Page.ViewSone.Profile.Name.WoTLink=web of trust profile
 Page.ViewSone.Replies.Title=Posts {sone} has replied to
 
index d80818a..1d87e46 100644 (file)
@@ -37,6 +37,7 @@
                                        <div class="profile-field">
                                                <div class="name"><%= Page.ViewSone.Profile.Label.Albums|l10n|html></div>
                                                <div class="value">
+                                                       <a href="imageBrowser.html?sone=<% sone.id|html>"><% =Page.ViewSone.Profile.Albums.Text.All|l10n|html></a>,
                                <%/first>
                                        <a href="imageBrowser.html?album=<%album.id|html>"><%album.title|html></a><%notlast>, <%/notlast>
                                <%last>