From 978727afd4cb619c7e8e9dd49979812998ef5976 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 22 Sep 2011 09:48:27 +0200 Subject: [PATCH] Rework Sone context menu. --- src/main/resources/i18n/sone.en.properties | 2 ++ src/main/resources/templates/include/soneMenu.html | 14 +++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 229d3dd..943e640 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -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 diff --git a/src/main/resources/templates/include/soneMenu.html b/src/main/resources/templates/include/soneMenu.html index 7422e94..6d69465 100644 --- a/src/main/resources/templates/include/soneMenu.html +++ b/src/main/resources/templates/include/soneMenu.html @@ -4,22 +4,18 @@
<%sone.niceName|html> - (<% =View.Post.WebOfTrustLink|l10n|html>) + (<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size>)
-
<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size>
+
» <% =View.Post.WebOfTrustLink|l10n|html>
<%foreach sone.albums album> <%first> -
<% =Page.ViewSone.Profile.Albums.Text.All|l10n|html>, +
» <% =View.SoneMenu.Link.AllAlbums|l10n|html>
<%/first> - <% album.title|html><%notlast>, <%/notlast> - <%last> -
- <%/last> <%/foreach> <%if !sone.local>
- <%= View.Sone.Button.FollowSone|l10n|html> - <%= View.Sone.Button.UnfollowSone|l10n|html> + » <%= View.Sone.Button.FollowSone|l10n|html> + » <%= View.Sone.Button.UnfollowSone|l10n|html>
<%/if>
-- 2.7.4