diff options
author | duthied <duthied@gmail.com> | 2011-10-05 09:38:36 -0700 |
---|---|---|
committer | duthied <duthied@gmail.com> | 2011-10-05 09:38:36 -0700 |
commit | a7559fb045150dcb953d5329586c245f43a34c5c (patch) | |
tree | 0eb64135855bb7cecd3d270e25941b625c60d335 /view/theme/testbubble/nav.tpl | |
parent | 924d4193789217dadbddf8e0dddb960a2988136c (diff) | |
parent | 7d5e839664edc65bbb7dde5c2533393a8ebb8433 (diff) | |
download | volse-hubzilla-a7559fb045150dcb953d5329586c245f43a34c5c.tar.gz volse-hubzilla-a7559fb045150dcb953d5329586c245f43a34c5c.tar.bz2 volse-hubzilla-a7559fb045150dcb953d5329586c245f43a34c5c.zip |
Merge pull request #17 from duthied/master
drop-down notification menu support added to testbubble theme
Diffstat (limited to 'view/theme/testbubble/nav.tpl')
-rw-r--r-- | view/theme/testbubble/nav.tpl | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/view/theme/testbubble/nav.tpl b/view/theme/testbubble/nav.tpl index 80bcfbeb1..dc16d40eb 100644 --- a/view/theme/testbubble/nav.tpl +++ b/view/theme/testbubble/nav.tpl @@ -3,13 +3,16 @@ <span id="banner">$banner</span> - <div id="notifications"> - {{ if $nav.network }}<a id="net-update" class="nav-ajax-update" href="$nav.network.0" title="$nav.network.1"></a>{{ endif }} - {{ if $nav.home }}<a id="home-update" class="nav-ajax-update" href="$nav.home.0" title="$nav.home.1"></a>{{ endif }} - {{ if $nav.notifications }}<a id="intro-update" class="nav-ajax-update" href="$nav.notifications.0" title="$nav.notifications.1"></a>{{ endif }} - {{ if $nav.messages }}<a id="mail-update" class="nav-ajax-update" href="$nav.messages.0" title="$nav.messages.1"></a>{{ endif }} + <div id="notifications"> + {{ if $nav.network }}<a rel="#nav-notifications-menu" id="net-update" class="nav-ajax-update" href="$nav.network.0" title="$nav.network.1"></a>{{ endif }} + {{ if $nav.home }}<a rel="#nav-notifications-menu" id="home-update" class="nav-ajax-update" href="$nav.home.0" title="$nav.home.1"></a>{{ endif }} + {{ if $nav.notifications }}<a rel="#nav-notifications-menu" id="intro-update" class="nav-ajax-update" href="$nav.notifications.0" title="$nav.notifications.1"></a>{{ endif }} + {{ if $nav.messages }}<a rel="#nav-notifications-menu" id="mail-update" class="nav-ajax-update" href="$nav.messages.0" title="$nav.messages.1"></a>{{ endif }} + <ul id="nav-notifications-menu" class="menu-popup"> + <li class="empty">$emptynotifications</li> + </ul> </div> - + <div id="user-menu" > <a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a> @@ -48,8 +51,8 @@ {{ if $nav.logout }}<li><a id="nav-logout-link" class="nav-commlink nav-sep $nav.logout.2" href="$nav.logout.0">$nav.logout.1</a></li> {{ endif }} </ul> </div> - - - </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> |