From: David ‘Bombe’ Roden Date: Wed, 21 Dec 2011 12:44:06 +0000 (+0100) Subject: Add link to WoT profile for unknown Sones. X-Git-Tag: 0.8^2~38 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=e174a13df3a9de5ab54ede5f2aa761c7727bfaff;hp=577c7b884783c1c055a4da3663d1f55a2109b442 Add link to WoT profile for unknown Sones. --- 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>