projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cac2acb
)
Change javascript for notification.
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 7 Jan 2011 21:48:44 +0000
(22:48 +0100)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 7 Jan 2011 21:48:44 +0000
(22:48 +0100)
src/main/resources/static/css/sone.css
patch
|
blob
|
history
src/main/resources/templates/notify/newPostNotification.html
patch
|
blob
|
history
src/main/resources/templates/notify/newReplyNotification.html
patch
|
blob
|
history
src/main/resources/templates/notify/newSoneNotification.html
patch
|
blob
|
history
diff --git
a/src/main/resources/static/css/sone.css
b/src/main/resources/static/css/sone.css
index
6a7eeac
..
89d9854
100644
(file)
--- a/
src/main/resources/static/css/sone.css
+++ b/
src/main/resources/static/css/sone.css
@@
-49,6
+49,10
@@
textarea {
color: rgb(255, 172, 0);
}
color: rgb(255, 172, 0);
}
+#sone a.link {
+ cursor: pointer;
+}
+
#sone a.internet {
color: rgb(255, 0, 0);
}
#sone a.internet {
color: rgb(255, 0, 0);
}
diff --git
a/src/main/resources/templates/notify/newPostNotification.html
b/src/main/resources/templates/notify/newPostNotification.html
index
f17a1ba
..
94f7a1f
100644
(file)
--- a/
src/main/resources/templates/notify/newPostNotification.html
+++ b/
src/main/resources/templates/notify/newPostNotification.html
@@
-1,6
+1,6
@@
<div class="short-text">
<%= Notification.NewPost.ShortText|l10n|html>
<div class="short-text">
<%= Notification.NewPost.ShortText|l10n|html>
- <a
href="javascript:
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
+ <a
class="link" onclick="
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
</div>
<div class="text hidden">
<%= Notification.NewPost.Text|l10n|html>
</div>
<div class="text hidden">
<%= Notification.NewPost.Text|l10n|html>
diff --git
a/src/main/resources/templates/notify/newReplyNotification.html
b/src/main/resources/templates/notify/newReplyNotification.html
index
0cf203b
..
d6d0670
100644
(file)
--- a/
src/main/resources/templates/notify/newReplyNotification.html
+++ b/
src/main/resources/templates/notify/newReplyNotification.html
@@
-1,6
+1,6
@@
<div class="short-text">
<%= Notification.NewReply.ShortText|l10n|html>
<div class="short-text">
<%= Notification.NewReply.ShortText|l10n|html>
- <a
href="javascript:
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
+ <a
class="link" onclick="
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
</div>
<div class="text hidden">
<%= Notification.NewReply.Text|l10n|html>
</div>
<div class="text hidden">
<%= Notification.NewReply.Text|l10n|html>
diff --git
a/src/main/resources/templates/notify/newSoneNotification.html
b/src/main/resources/templates/notify/newSoneNotification.html
index
ec715ae
..
8389f7a
100644
(file)
--- a/
src/main/resources/templates/notify/newSoneNotification.html
+++ b/
src/main/resources/templates/notify/newSoneNotification.html
@@
-1,6
+1,6
@@
<div class="short-text">
<%= Notification.NewSone.ShortText|l10n|html>
<div class="short-text">
<%= Notification.NewSone.ShortText|l10n|html>
- <a
href="javascript:
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
+ <a
class="link" onclick="
showNotificationDetails('<%notification.id|html>'); return false;"><%= Notification.ClickHereToRead|l10n|html></a>
</div>
<div class="text hidden">
<%= Notification.NewSone.Text|l10n|html>
</div>
<div class="text hidden">
<%= Notification.NewSone.Text|l10n|html>