Ignore:
Timestamp:
4 Jan 2010, 21:46:34 (15 years ago)
Author:
uli
Message:

Use primary_nav viewlet instead of 'hardcoded' tabs to render primary
navigation tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/templates/sitelayout.pt

    r4650 r4658  
    3030          <tal:header content="structure provider:header" />
    3131          <div id="navigation" class="yui-navset" style="text-align:right;">
     32
    3233            <ul id="primary-navigation">
    33               <li tal:repeat="entry python:layout.getPrimaryNav(view)"
    34                   tal:attributes="class entry/active">
    35                 <a href="#"
    36                    tal:attributes="href entry/url"
    37                    tal:content="entry/title">Menu Item</a>
    38               </li>
     34              <tal:primary_nav content="structure provider:primary_nav" />
    3935            </ul>
    4036
Note: See TracChangeset for help on using the changeset viewer.