Changeset 188:8487b9c747f0
- Timestamp:
- 07/19/09 17:31:56 (8 months ago)
- Author:
- rgrp
- Branch:
- default
- convert_revision:
- svn:0ead1229-0713-0410-96cd-f668dbfad531/trunk@274
- Message:
-
[templates][xs]: set id=None in url generation for main nav links so we get no bleed-over (i.e. ids from one area appearing in urls for another when you click on nav).
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r182
|
r188
|
|
| 59 | 59 | <ul id="navigation"> |
| 60 | 60 | <li><a href="${h.url_for('/')}">Home</a></li> |
| 61 | | <li><a href="${h.url_for(controller='work', action='index')}">Works</a></li> |
| 62 | | <li><a href="${h.url_for(controller='material', action='index')}">Material</a></li> |
| 63 | | <li><a href="${h.url_for(controller='search', action='index')}">Search</a></li> |
| 64 | | <li><a href="${h.url_for(controller='stats', action='index')}">Stats</a></li> |
| | 61 | <li><a href="${h.url_for(controller='work', action='index', id=None)}">Works</a></li> |
| | 62 | <li><a href="${h.url_for(controller='material', action='index', id=None)}">Material</a></li> |
| | 63 | <li><a href="${h.url_for(controller='search', action='index', id=None)}">Search</a></li> |
| | 64 | <li><a href="${h.url_for(controller='stats', action='index', id=None)}">Stats</a></li> |
| 65 | 65 | <li><a href="${h.url_for('/guide/')}">Guide</a></li> |
| 66 | 66 | <li><a href="${h.url_for('/about/')}">About</a></li> |
| … |
… |
|
| 71 | 71 | <!--<minornavigation>--> |
| 72 | 72 | <li><a href="${h.url_for(controller='site', action='index')}">Home</a></li> |
| 73 | | <py:choose> |
| 74 | | <py:when test="c.user"> |
| 75 | | <li><a href="/account/logout/">Logout</a></li> |
| 76 | | </py:when> |
| 77 | | <py:otherwise> |
| 78 | | <li><a href="/account/">Register</a></li> |
| 79 | | <li><a href="/account/login/">Login</a></li> |
| 80 | | </py:otherwise> |
| 81 | | </py:choose> |
| 82 | | <li><a href="/package/new/">New Package</a></li> |
| 83 | 73 | <!--</minornavigation>--> |
| 84 | 74 | </ul> |