diff options
author | friendica <info@friendica.com> | 2012-12-18 16:17:08 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-18 16:17:08 -0800 |
commit | a12264193ffe9daa04155aff78a1feaff82b7670 (patch) | |
tree | 2a852d9fe1c91fa2fce5e6b03e021190249e1765 /view/tpl/nav.tpl | |
parent | e9b5b0f0b424930b87708080c4e6ce671016177b (diff) | |
download | volse-hubzilla-a12264193ffe9daa04155aff78a1feaff82b7670.tar.gz volse-hubzilla-a12264193ffe9daa04155aff78a1feaff82b7670.tar.bz2 volse-hubzilla-a12264193ffe9daa04155aff78a1feaff82b7670.zip |
modularise the notification popups
Diffstat (limited to 'view/tpl/nav.tpl')
-rw-r--r-- | view/tpl/nav.tpl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 234b20854..d052cde3f 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -14,16 +14,23 @@ {{ if $nav.network }} <li id="nav-network-link" class="nav-menu $sel.network"> <a class="$nav.network.2" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a> - <span id="net-update" class="nav-notify"></span> + <span id="net-update" class="nav-notify fakelink" onclick="notify_popup('network'); return false;" ></span> </li> {{ endif }} {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a> - <span id="home-update" class="nav-notify"></span> + <span id="home-update" class="nav-notify fakelink" onclick="notify_popup('home'); return false;" ></span> </li> {{ endif }} - + + {{ if $nav.all_events }} + <li id="nav-all-events-link" class="nav-menu $sel.all_events"> + <a class="$nav.all_events.2" href="$nav.all_events.0" title="$nav.all_events.3" >$nav.all_events.1</a> + <span id="all-events-update" class="nav-notify fakelink" onclick="notify_popup('all_events'); return false;" ></span> + </li> + {{ endif }} + {{ if $nav.intros }} <li id="nav-intros-link" class="nav-menu $sel.intros"> <a class="$nav.intros.2" href="$nav.intros.0" title="$nav.intros.3" >$nav.intros.1</a> @@ -34,7 +41,7 @@ {{ if $nav.notifications }} - <li id="nav-notifications-linkmenu" class="nav-menu fakelink" onclick="notify_popup(); return false;" title="$nav.notifications.1"><span class="icon s22 notify">$nav.notifications.1</span></a> + <li id="nav-notifications-linkmenu" class="nav-menu fakelink" onclick="notify_popup('notify'); return false;" title="$nav.notifications.1"><span class="icon s22 notify">$nav.notifications.1</span></a> <span id="notify-update" class="nav-notify"></span> <ul id="nav-notifications-menu" class="menu-popup"> <li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li> |