aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/nav.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-24 23:44:55 -0800
committerfriendica <info@friendica.com>2012-02-24 23:44:55 -0800
commit6092567c977d9e28df9558db51bd5b3d269740e8 (patch)
treede1e30a7481627922c1e4bbd1d5d105c70fbd0ea /view/theme/duepuntozero/nav.tpl
parent9441ff5142551d1db547ac7ff80c897a52c934c7 (diff)
downloadvolse-hubzilla-6092567c977d9e28df9558db51bd5b3d269740e8.tar.gz
volse-hubzilla-6092567c977d9e28df9558db51bd5b3d269740e8.tar.bz2
volse-hubzilla-6092567c977d9e28df9558db51bd5b3d269740e8.zip
notifications to zeros, bug in notify link
Diffstat (limited to 'view/theme/duepuntozero/nav.tpl')
-rwxr-xr-xview/theme/duepuntozero/nav.tpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/view/theme/duepuntozero/nav.tpl b/view/theme/duepuntozero/nav.tpl
index afa918065..cd524ebec 100755
--- a/view/theme/duepuntozero/nav.tpl
+++ b/view/theme/duepuntozero/nav.tpl
@@ -39,8 +39,22 @@
<span id="mail-update" class="nav-ajax-left"></span>
{{ endif }}
+
+
{{ if $nav.manage }}<a id="nav-manage-link" class="nav-commlink $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
+
+ {{ if $nav.notifications }}
+ <li id="nav-notifications-linkmenu" class="nav-commlink"><a href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>
+ <span id="notify-update" class="nav-notify"></span>
+ <ul id="nav-notifications-menu" class="menu-popup">
+ <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
+ <li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
+ <li class="empty">$emptynotifications</li>
+ </ul>
+ </li>
+ {{ endif }}
+
{{ if $nav.settings }}<a id="nav-settings-link" class="nav-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a>{{ endif }}
{{ if $nav.profiles }}<a id="nav-profiles-link" class="nav-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a>{{ endif }}
@@ -49,3 +63,7 @@
<span id="nav-end"></span>
<span id="banner">$banner</span>
</nav>
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+ <li><a href="{0}">{2} <span class="notif-when">{3}</span></a></li>
+</ul>