Completely hide the request key from the interface.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 18 Oct 2010 19:45:49 +0000 (21:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 18 Oct 2010 19:45:49 +0000 (21:45 +0200)
src/main/resources/i18n/sone.en.properties
src/main/resources/templates/knownSones.html

index b525fee..f3c4a4a 100644 (file)
@@ -129,6 +129,7 @@ Page.Logout.Title=Logout - Sone
 
 View.Head.ProfileLink.Text=Your Profile
 
+View.Sone.Label.LastUpdate=last update:
 View.Sone.Button.UnblockSone=unblock
 View.Sone.Button.BlockSone=block
 
index bf8dcfb..84b6a94 100644 (file)
@@ -5,9 +5,8 @@
        <div id="known-sones">
                <%foreach knownSones sone>
                        <div>
-                               <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>"><% sone.niceName|html></a></div>
-                               <div class="request-uri"><span title="<% sone.requestUri|html>"><% sone.requestUri|substring start=4 length=43|html>…</span></div>
-                               <div class="last-update"><% sone.time|date format="MMM d, yyyy, HH:mm:ss"></div>
+                               <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
+                               <div class="last-update">(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)</div>
                                <%ifnull ! currentSone>
                                        <%if sone.isBlocked>
                                                <form class="unblock" action="unblockSone.html" method="post">