From: David ‘Bombe’ Roden Date: Tue, 19 Oct 2010 19:46:58 +0000 (+0200) Subject: Add page tail that contains the key of the current Sone. X-Git-Tag: 0.1-RC1~179 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e59a3f6f1512713baf6007d0fae37c69b58727a4;p=Sone.git Add page tail that contains the key of the current Sone. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 506c66c..a6d106f 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -132,6 +132,8 @@ Page.Logout.Title=Logout - Sone View.Head.ProfileLink.Text=Your Profile +Page.Tail.Text.KeyOfSone=Key of this Sone (give this to other people): + View.Sone.Label.LastUpdate=Last update: View.Sone.Button.UnfollowSone=unfollow View.Sone.Button.FollowSone=follow diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 32fa4c3..ab45d45 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -230,6 +230,15 @@ display: inline; } +#sone #tail .import-key { + margin-top: 1em; + border-top: solid 1px #ccc; + padding-top: 1em; + text-align: center; + font-size: 85%; + color: #888; +} + #sone h1 { font-family: inherit; diff --git a/src/main/resources/templates/include/tail.html b/src/main/resources/templates/include/tail.html index 0e7d491..3e8040a 100644 --- a/src/main/resources/templates/include/tail.html +++ b/src/main/resources/templates/include/tail.html @@ -1,2 +1,9 @@ + +
+ <%ifnull ! currentSone> +
<%= Page.Tail.Text.KeyOfSone|l10n|html>
<% currentSone.requestUri|html>
+ <%/if> +
+