From: David ‘Bombe’ Roden Date: Thu, 17 Feb 2011 09:33:24 +0000 (+0100) Subject: Add star for bookmarks in post view. X-Git-Tag: 0.4.4^2~7^2~6 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=a5a7381f8624ceec940fc49896fc0c774dc6d0eb Add star for bookmarks in post view. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 5ec8348..08f5f6d 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -200,6 +200,8 @@ View.Sone.Status.Downloading=This Sone is currently being downloaded. View.Sone.Status.Inserting=This Sone is currently being inserted. View.Post.UnknownAuthor=(unknown) +View.Post.Bookmarks.PostIsBookmarked=Post is bookmarked, click to remove from bookmarks +View.Post.Bookmarks.PostIsNotBookmarked=Post is not bookmarked, click to bookmark 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 676a9d5..f5250e3 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -254,6 +254,11 @@ textarea { color: rgb(28, 131, 191); } +#sone .post .bookmarks, #sone .post .bookmarked, #sone .post .not-bookmarked { + display: inline; + color: rgb(28, 131, 191); +} + #sone .post .time { display: inline; color: #666; diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index dc2912e..92fff0f 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -19,6 +19,21 @@
<% post.text|parse sone=post.sone>
+
+
+ + + + +
+
+ + + + +
+
+ ·
·