From a8e00329e6a7d145704f82007057ef42d7f719e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 7 Apr 2011 11:13:28 +0200 Subject: [PATCH] Add element IDs to new-element notifications. --- src/main/resources/static/css/sone.css | 4 ++++ src/main/resources/templates/notify/newPostNotification.html | 1 + src/main/resources/templates/notify/newReplyNotification.html | 1 + src/main/resources/templates/notify/newSoneNotification.html | 1 + 4 files changed, 7 insertions(+) diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 38fcd19..f6bb62d 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -121,6 +121,10 @@ textarea { float: right; } +#sone #notification-area .notification .hidden { + display: none; +} + #sone #plugin-warning { border: solid 0.5em red; padding: 0.5em; diff --git a/src/main/resources/templates/notify/newPostNotification.html b/src/main/resources/templates/notify/newPostNotification.html index 177b470..54008dc 100644 --- a/src/main/resources/templates/notify/newPostNotification.html +++ b/src/main/resources/templates/notify/newPostNotification.html @@ -12,6 +12,7 @@ <%= Notification.NewPost.Text|l10n|html> <%foreach posts post> + <% post.sone.niceName|html><%notlast>,<%/notlast><%last>.<%/last> <%/foreach> diff --git a/src/main/resources/templates/notify/newReplyNotification.html b/src/main/resources/templates/notify/newReplyNotification.html index 21a5ca0..1253da5 100644 --- a/src/main/resources/templates/notify/newReplyNotification.html +++ b/src/main/resources/templates/notify/newReplyNotification.html @@ -12,6 +12,7 @@ <%= Notification.NewReply.Text|l10n|html> <%foreach replies reply> + <% reply.sone.niceName|html><%notlast>,<%/notlast><%last>.<%/last> <%/foreach> diff --git a/src/main/resources/templates/notify/newSoneNotification.html b/src/main/resources/templates/notify/newSoneNotification.html index 45357b1..aaa0d14 100644 --- a/src/main/resources/templates/notify/newSoneNotification.html +++ b/src/main/resources/templates/notify/newSoneNotification.html @@ -12,6 +12,7 @@ <%= Notification.NewSone.Text|l10n|html> <%foreach sones sone> + <% sone.niceName|html><%notlast>,<%/notlast><%last>.<%/last> <%/foreach> -- 2.7.4