From 5203bdbec6c01b70b5189f0fbeb050e144026d8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 18 Oct 2010 16:15:19 +0200 Subject: [PATCH] Change links to HTML forms. --- src/main/resources/i18n/sone.en.properties | 3 +++ src/main/resources/static/css/sone.css | 4 ++++ src/main/resources/templates/knownSones.html | 12 ++++++++++-- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index fc9075a..b525fee 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -129,6 +129,9 @@ Page.Logout.Title=Logout - Sone View.Head.ProfileLink.Text=Your Profile +View.Sone.Button.UnblockSone=unblock +View.Sone.Button.BlockSone=block + View.Post.DeleteLink=Delete View.Post.SendReply=Post Reply! View.Post.Reply.DeleteLink=Delete diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index edde599..7c15813 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -145,6 +145,10 @@ display: none; } +#sone #known-sones form { + display: inline; +} + #sone h1 { font-family: inherit; font-size: 200%; diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index aaf452b..a0b270a 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -8,9 +8,17 @@
(<% sone.requestUri|html>)
<%if sone.isBlocked> - +
+ + + +
<%else> - +
+ + + +
<%/if> <%foreachelse> -- 2.7.4