aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/notifications.tpl')
-rwxr-xr-xview/tpl/notifications.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/notifications.tpl b/view/tpl/notifications.tpl
index b1b0c8036..ae87c8ec8 100755
--- a/view/tpl/notifications.tpl
+++ b/view/tpl/notifications.tpl
@@ -1,5 +1,7 @@
<h1>{{$notif_header}}</h1>
-<a href="#" onclick="markRead('notify'); return false;">{{$notif_link_mark_seen}}</a>
+{{if $notifications_available}}
+<a href="#" onclick="markRead('notify');">{{$notif_link_mark_seen}}</a>
+{{/if}}
<div class="notif-network-wrapper">
{{$notif_content}}
</div>