Ignore:
Timestamp:
Jan 31, 2009, 10:33:34 AM (16 years ago)
Author:
gav
Message:

Update main layout.
Create and add topBg.png
Basic auth for admin/user adjust BoosStrap? and controllers to match.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/views/_adminmenubar.gsp

    r40 r44  
    11<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">
    95                Admin
    10         </g:link>
    11     </span>
     6            </g:link>
     7        </span>
     8    </g:if>
    129    <span class="appControlButton">
    1310        <g:link controller="person" action="logout">
    14                Log out
     11                Log out
    1512        </g:link>
    1613    </span>
Note: See TracChangeset for help on using the changeset viewer.