aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>