From e174a13df3a9de5ab54ede5f2aa761c7727bfaff Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 21 Dec 2011 13:44:06 +0100 Subject: [PATCH] Add link to WoT profile for unknown Sones. --- src/main/resources/i18n/sone.en.properties | 2 +- src/main/resources/templates/viewSone.html | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 28d5eb6..18171c8 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -168,7 +168,7 @@ Page.CreateReply.Button.Post=Post Reply! Page.ViewSone.Title=View Sone - Sone Page.ViewSone.Page.TitleWithoutSone=View unknown Sone -Page.ViewSone.NoSone.Description=There is currently no known Sone with the ID {sone}. If you were looking for a specific Sone, make sure that it is visible in your web of trust! +Page.ViewSone.NoSone.Description=There is currently no known Sone with the ID {sone}. If you were looking for a specific Sone, make sure that it is visible in your web of trust: Page.ViewSone.UnknownSone.Description=This Sone has not yet been retrieved. Please check back in a short time. Page.ViewSone.UnknownSone.LinkToWebOfTrust=Even though the Sone is still unknown, its Web of Trust profile might already be available: Page.ViewSone.WriteAMessage=You can write a message to this Sone here. Please note that everybody will be able to read this message! diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 1d87e46..6dd3912 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -7,7 +7,10 @@

<%= Page.ViewSone.Page.TitleWithoutSone|l10n|html>

-

<%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=soneId|html>

+

+ <%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=soneId|html> + <%= Page.ViewSone.Profile.Name.WoTLink|l10n|html> +

<%elseifnull sone.name> -- 2.7.4