From f6b86a900cacf7555143f12bd12e44b39e0c252f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 27 Sep 2011 21:14:00 +0200 Subject: [PATCH] =?utf8?q?Show=20a=20Sone=E2=80=99s=20number=20of=20images?= =?utf8?q?=20in=20context=20menu=20and=20Sone=20info.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/templates/include/soneMenu.html | 2 +- src/main/resources/templates/include/viewSone.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index d6ba9a7..539f0e2 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -291,6 +291,7 @@ View.Sone.Label.LastUpdate=Last update: View.Sone.Text.UnknownDate=unknown View.Sone.Stats.Posts={0,number} {0,choice,0#posts|1#post|1
<%sone.niceName|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><%if ! sone.allImages.size|match value=0>, <%= View.Sone.Stats.Images|l10n 0=sone.allImages.size><%/if>)
» <% =View.Post.WebOfTrustLink|l10n|html>
<%foreach sone.albums album> diff --git a/src/main/resources/templates/include/viewSone.html b/src/main/resources/templates/include/viewSone.html index ba5c8e4..59ba792 100644 --- a/src/main/resources/templates/include/viewSone.html +++ b/src/main/resources/templates/include/viewSone.html @@ -8,7 +8,7 @@
<%= View.Sone.Label.LastUpdate|l10n|html> "><%sone.lastUpdatedText|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><%if ! sone.allImages.size|match value=0>, <%= View.Sone.Stats.Images|l10n 0=sone.allImages.size><%/if>)
<% sone.requestUri|substring start=4 length=43|html>
-- 2.7.4