Changeset 4615


Ignore:
Timestamp:
2 Jan 2010, 02:47:44 (15 years ago)
Author:
uli
Message:
  • Make logout link really work.
  • Display user nav only for authenticated users.
File:
1 edited

Legend:

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

    r4596 r4615  
    4040            </ul>
    4141
    42             <ul id="user-navigation">
     42            <ul id="user-navigation"
     43                tal:condition="layout/isAuthenticated">
    4344              <li><a href="#">Profile</a></li>
    4445              <li><a href="#">Settings</a></li>
    45               <li><a href="#">Logout</a></li>
     46              <li>
     47                <a href="#"
     48                   tal:attributes="href python: view.url(context,
     49                   '@@logout')">Logout</a>
     50              </li>
    4651            </ul>
    4752            <div class="clear"></div>
Note: See TracChangeset for help on using the changeset viewer.