Rework Sone context menu.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 22 Sep 2011 07:48:27 +0000 (09:48 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 06:34:47 +0000 (08:34 +0200)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/include/soneMenu.html

index 229d3dd..943e640 100644 (file)
@@ -298,6 +298,8 @@ View.Sone.Status.Idle=This Sone is idle, i.e. not being inserted or downloaded.
 View.Sone.Status.Downloading=This Sone is currently being downloaded.
 View.Sone.Status.Inserting=This Sone is currently being inserted.
 
+View.SoneMenu.Link.AllAlbums=all albums
+
 View.Post.UnknownAuthor=(unknown)
 View.Post.WebOfTrustLink=web of trust profile
 View.Post.Permalink=link post
index 7422e94..6d69465 100644 (file)
@@ -4,22 +4,18 @@
        <div class="inner-menu">
                <div>
                        <a class="author" href="viewSone.html?sone=<%sone.id|html>"><%sone.niceName|html></a>
-                       <span class="author-wot-link">(<a href="/WebOfTrust/ShowIdentity?id=<%sone.id|html>"><% =View.Post.WebOfTrustLink|l10n|html></a>)</span>
+                       (<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size>)
                </div>
-               <div><%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size></div>
+               <div><a href="/WebOfTrust/ShowIdentity?id=<%sone.id|html>">» <% =View.Post.WebOfTrustLink|l10n|html></a></div>
                <%foreach sone.albums album>
                        <%first>
-                               <div><a href="imageBrowser.html?sone=<% sone.id|html>"><% =Page.ViewSone.Profile.Albums.Text.All|l10n|html></a>, 
+                               <div><a href="imageBrowser.html?sone=<% sone.id|html>">» <% =View.SoneMenu.Link.AllAlbums|l10n|html></a></div>
                        <%/first>
-                               <a href="imageBrowser.html?album=<% album.id|html>" title="<% album.description|html>"><% album.title|html></a><%notlast>, <%/notlast>
-                       <%last>
-                               </div>
-                       <%/last>
                <%/foreach>
                <%if !sone.local>
                        <div>
-                               <a class="follow<%if sone.friend> hidden<%/if>"><%= View.Sone.Button.FollowSone|l10n|html></a>
-                               <a class="unfollow<%if !sone.friend> hidden<%/if>"><%= View.Sone.Button.UnfollowSone|l10n|html></a>
+                               <a class="follow<%if sone.friend> hidden<%/if>">» <%= View.Sone.Button.FollowSone|l10n|html></a>
+                               <a class="unfollow<%if !sone.friend> hidden<%/if>">» <%= View.Sone.Button.UnfollowSone|l10n|html></a>
                        </div>
                <%/if>
        </div>