aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-05-04 17:28:43 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-05-04 17:28:43 +0200
commitb2e0b6f11d82aa10ef844fc99a6e1946071edd18 (patch)
tree74bb3d5703ed45d65928231dd8bcd5f24311ca93
parent3da4656e412730706b8e0be44dc0a751d38fdee6 (diff)
downloadvolse-hubzilla-b2e0b6f11d82aa10ef844fc99a6e1946071edd18.tar.gz
volse-hubzilla-b2e0b6f11d82aa10ef844fc99a6e1946071edd18.tar.bz2
volse-hubzilla-b2e0b6f11d82aa10ef844fc99a6e1946071edd18.zip
system notifications mark seen link
-rw-r--r--mod/notifications.php1
-rwxr-xr-xview/tpl/notifications.tpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index f327c2fe2..1a4a2b6a9 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -95,6 +95,7 @@ function notifications_content(&$a) {
$o .= replace_macros($notif_tpl,array(
'$notif_header' => t('System Notifications'),
+ '$notif_link_mark_seen' => t('Mark all system notifications seen'),
'$notif_content' => $notif_content,
));
diff --git a/view/tpl/notifications.tpl b/view/tpl/notifications.tpl
index 3015de504..b1b0c8036 100755
--- a/view/tpl/notifications.tpl
+++ b/view/tpl/notifications.tpl
@@ -1,5 +1,5 @@
<h1>{{$notif_header}}</h1>
-
+<a href="#" onclick="markRead('notify'); return false;">{{$notif_link_mark_seen}}</a>
<div class="notif-network-wrapper">
{{$notif_content}}
</div>