Changeset 44 for trunk/src/grails-app/views/_adminmenubar.gsp
- Timestamp:
- Jan 31, 2009, 10:33:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/_adminmenubar.gsp
r40 r44 1 1 <g:if test="${session.userId}"> 2 <span class="appControlButton"> 3 <g:link controller="task" action="list"> 4 Task 5 </g:link> 6 </span> 7 <span class="appControlButton"> 8 <g:link controller="person" action="admin"> 2 <g:if test="${session.userId == 'admin'}"> 3 <span class="appControlButton"> 4 <g:link controller="person" action="admin"> 9 5 Admin 10 </g:link> 11 </span> 6 </g:link> 7 </span> 8 </g:if> 12 9 <span class="appControlButton"> 13 10 <g:link controller="person" action="logout"> 14 Log out11 Log out 15 12 </g:link> 16 13 </span>
Note: See TracChangeset
for help on using the changeset viewer.