diff options
author | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-05-04 18:17:11 +0200 |
---|---|---|
committer | Christian Vogeley <christian.vogeley@hotmail.de> | 2014-05-04 18:17:11 +0200 |
commit | f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4 (patch) | |
tree | ca182de557d63d302ea2d1087fb0c69baa890f87 /view/tpl/notifications.tpl | |
parent | b2e0b6f11d82aa10ef844fc99a6e1946071edd18 (diff) | |
download | volse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.tar.gz volse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.tar.bz2 volse-hubzilla-f7c77c7821fd11afda7c19b5d21a4d6677fc1aa4.zip |
Add link to system notifications page
to mark notifications seen
Diffstat (limited to 'view/tpl/notifications.tpl')
-rwxr-xr-x | view/tpl/notifications.tpl | 4 |
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> |