Source

trac-macos / tracmacos / templates / mac_theme.html

Diff from to

tracmacos/templates/mac_theme.html

       xmlns:py="http://genshi.edgewall.org/"
       py:strip="">
 
-  <ul py:def="navigation(category)" class="menu">
+  <ul py:def="navigation(category, skip)" class="menu">
     <li id="${category}" class="nav">
       <ul py:if="chrome.nav[category]">
-        <li py:for="idx, item in  enumerate(chrome.nav[category])"
+        <li py:for="idx, item in  enumerate(i for i in chrome.nav[category] if i.name not in skip)"
             class="${classes(first_last(idx, chrome.nav[category]), active=item.active)}">${item.label}</li>
       </ul>
     </li>
               <div class="round2"></div>
               <div class="round4"></div>
             </div>
-            ${navigation("mainnav")}
+            ${navigation("mainnav", [])}
           </li>
         </ul>
       </span>
               class="${(classes(first_last(idx, chrome.nav['metanav']), active=item.active) or '') + ' ' + item.name}">
             ${item.label}
           </li>
-          <li class="more">more</li>
+          <li class="more">
+            <em>more</em>
+            ${navigation("metanav", metaitems)}
+          </li>
         </ul>
       </span>
     </div>