]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/testbubble/nav.tpl
more work on new contact edit page - plus first port to testbubble
[friendica.git] / view / theme / testbubble / nav.tpl
index 80bcfbeb1e718a07c08d378164dc16c3d66e35e7..c7d61682632807cbe51e2c61b6068eb25b262526 100644 (file)
@@ -3,13 +3,17 @@
 
        <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 id="nav-notifications-see-all"><a href="/notifications/network">See all notifications</a></li>
+                       <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>
                
                
                        {{ if $nav.admin }}<li><a id="nav-admin-link" class="nav-commlink $nav.admin.2" href="$nav.admin.0">$nav.admin.1</a></li>{{ endif }}
                        
-                       <li><a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0">$nav.help.1</a></li>
+                       {{ if $nav.help }}<li><a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0">$nav.help.1</a></li>{{ endif }}
 
                        {{ if $nav.login }}<li><a id="nav-login-link" class="nav-link $nav.login.2" href="$nav.login.0">$nav.login.1</a></li> {{ endif }}
                        {{ 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>