From: David ‘Bombe’ Roden Date: Thu, 22 Sep 2011 07:48:27 +0000 (+0200) Subject: Rework Sone context menu. X-Git-Tag: 0.7^2~2^2~36 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=978727afd4cb619c7e8e9dd49979812998ef5976;p=Sone.git Rework Sone context menu. --- 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>