]> git.mxchange.org Git - friendica.git/commitdiff
fixed broken tags and notifications in theme
authortommy tomson <thomas.bierey@gmx.de>
Fri, 2 Mar 2012 23:41:02 +0000 (00:41 +0100)
committertommy tomson <thomas.bierey@gmx.de>
Fri, 2 Mar 2012 23:41:02 +0000 (00:41 +0100)
view/theme/diabook/nav.tpl
view/theme/diabook/style.css
view/theme/diabook/wall_item.tpl

index 80240f4aedc274968ac330c0c7ee053a9f5bfde3..17df8e652b3f8fab9f170a06c7927f57f86630e1 100644 (file)
@@ -1,5 +1,5 @@
 <header>
-       {# $langselector #}
+       {# $langselector version 0.01#}
 
        <div id="site-location">$sitelocation</div>
        <div id="banner">$banner</div>
@@ -18,7 +18,7 @@
                        </li>
                    {{ endif }}
        
-
+                       {{ if $nav.contacts }}
                        <li class="nav-menu-icon" id="nav-contacts-linkmenu">
                                <a href="$nav.contacts.0" rel="#nav-contacts-menu" title="$nav.contacts.1">
                                <span class="icon contacts">$nav.contacts.1</span></a>
@@ -28,9 +28,9 @@
                                        <li id="nav-contacts-all"><a href="contacts">$nav.contacts.1</a></li> 
                                </ul>
                        </li>   
+                       {{ endif }}
                        
-                       
-                       
+                       {{ if $nav.messages }}
                        <li  id="nav-messages-linkmenu" class="nav-menu-icon">
                          <a href="$nav.messages.0" rel="#nav-messages-menu" title="$nav.messages.1">
                          <span class="icon messages">$nav.messages.1</span></a>
@@ -42,9 +42,8 @@
                                        <li id="nav-messages-new"><a href="message/new">Neue Nachricht</a></li>
                                </ul>
                        </li>           
+                       {{ endif }}
                
-               
-      
       {{ if $nav.notifications }}
                        <li  id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1"><span class="icon notify">$nav.notifications.1</span></a>
                                <span id="notify-update" class="nav-notify"></span>
@@ -54,9 +53,7 @@
                                        <li class="empty">$emptynotifications</li>
                                </ul>
                        </li>           
-               {{ endif }}                     
-               
-                               
+               {{ endif }}                                     
                
                <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
                        <ul id="nav-site-menu" class="menu-popup">
                                {{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }}
 
                                {{ if $nav.logout }}<li><a class="menu-sep $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>{{ endif }}
-                               {{ if $nav.login }}<li><a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><li>{{ endif }}
+
                                
                        </ul>           
                </li>
                
                
-
+               {{ if $nav.directory }}
                <li id="nav-directory-link" class="nav-menu $sel.directory">
                        <a class="$nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
                </li>
+               {{ endif }}
                
                {{ if $nav.apps }}
                        <li id="nav-apps-link" class="nav-menu $sel.apps">
                        </li>
                {{ endif }}
                
+                                       {{ if $nav.login }}
+                                       <li id="nav-home-link" class="nav-menu $sel.home">
+                                               <a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
+                                       <li>
+                                       {{ endif }}
+               
                
                
-       </ul>
-       </div>  
+       </ul>   
 
 </nav>
+
+
+
 <ul id="nav-notifications-template" style="display:none;" rel="template">
-       <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+       <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
 </ul>
 
 {#
index 383fba24d9482730a45ba55147dc92f0a28247ac..a58e794836c94db525a3177a111cf00d64e3e4a9 100644 (file)
@@ -673,6 +673,10 @@ nav #nav-apps-link.selected {
        padding: 5px 10px; */
 }
 
+.notify-seen {
+       background: none repeat scroll 0 0 #DDDDDD;
+       }
+
 ul.menu-popup {
   position: absolute;
   display: none;
index 1f1a878b4a6cc8c70bcf2090f9f3890846f3aa46..c1205b01b34fe6fc627df5602de701e3df7b6f4d 100644 (file)
@@ -38,8 +38,8 @@
                <div class="wall-item-links">
                </div>
                <div class="wall-item-tags">
-                       {{ for $item.tags as $item.tag }}
-                               <span class='tag'>$item.tag</span>
+                       {{ for $item.tags as $tag }}
+                               <span class='tag'>$tag</span>
                        {{ endfor }}
                </div>
        </div>