Show link to WoT profile more prominently.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Apr 2011 10:51:08 +0000 (12:51 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 24 Apr 2011 10:51:08 +0000 (12:51 +0200)
This fixes #178.

src/main/resources/i18n/sone.en.properties
src/main/resources/templates/viewSone.html

index 9703eb3..737785a 100644 (file)
@@ -134,6 +134,7 @@ Page.ViewSone.PostList.Title=Posts by {sone}
 Page.ViewSone.PostList.Text.NoPostYet=This Sone has not yet posted anything.
 Page.ViewSone.Profile.Title=Profile
 Page.ViewSone.Profile.Label.Name=Name
+Page.ViewSone.Profile.Name.WoTLink=Web of trust profile
 Page.ViewSone.Replies.Title=Posts {sone} has replied to
 
 Page.ViewPost.Title=View Post - Sone
index 27b156d..f915628 100644 (file)
@@ -25,7 +25,7 @@
 
                        <div class="profile-field">
                                <div class="name"><%= Page.ViewSone.Profile.Label.Name|l10n|html></div>
-                               <div class="value"><a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><% sone.niceName|html></a></div>
+                               <div class="value"><% sone.niceName|html> (<a href="/WebOfTrust/ShowIdentity?id=<% sone.id|html>"><%= Page.ViewSone.Profile.Name.WoTLink|l10n|html></a>)</div>
                        </div>
 
                        <%foreach sone.profile.fields field>