diff options
author | Devlon Duthie <duthied@gmail.com> | 2011-10-05 11:29:25 -0500 |
---|---|---|
committer | Devlon Duthie <duthied@gmail.com> | 2011-10-05 11:29:25 -0500 |
commit | 7d5e839664edc65bbb7dde5c2533393a8ebb8433 (patch) | |
tree | a1ba1633e420f564b7b855ecbd69a59f6c4b6051 /view/theme/testbubble/nav.tpl | |
parent | 24595c55d7258660862ef5bc2203b226d6615362 (diff) | |
download | volse-hubzilla-7d5e839664edc65bbb7dde5c2533393a8ebb8433.tar.gz volse-hubzilla-7d5e839664edc65bbb7dde5c2533393a8ebb8433.tar.bz2 volse-hubzilla-7d5e839664edc65bbb7dde5c2533393a8ebb8433.zip |
- added drop-down notification support in 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> |