projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide information in notification until a link is clicked.
[Sone.git]
/
src
/
main
/
resources
/
templates
/
notify
/
newPostNotification.html
diff --git
a/src/main/resources/templates/notify/newPostNotification.html
b/src/main/resources/templates/notify/newPostNotification.html
index
5889ef5
..
f17a1ba
100644
(file)
--- a/
src/main/resources/templates/notify/newPostNotification.html
+++ b/
src/main/resources/templates/notify/newPostNotification.html
@@
-1,4
+1,8
@@
-<div class="text">
+<div class="short-text">
+ <%= Notification.NewPost.ShortText|l10n|html>
+ <a href="javascript:showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
+</div>
+<div class="text hidden">
<%= Notification.NewPost.Text|l10n|html>
<%foreach posts post>
<a href="viewPost.html?post=<% post.id|html>"><% post.sone.niceName|html></a><%notlast>,<%/notlast><%last>.<%/last>
<%= Notification.NewPost.Text|l10n|html>
<%foreach posts post>
<a href="viewPost.html?post=<% post.id|html>"><% post.sone.niceName|html></a><%notlast>,<%/notlast><%last>.<%/last>