Ignore:
Timestamp:
Mar 10, 2009, 3:00:59 AM (16 years ago)
Author:
gav
Message:

Start changing roles to AppAdmin? and AppUser?.
Add Options view, start code for user changeable passwords.
Repair home and admin bean error variables.

Location:
branches/TaskRewrite/src/grails-app/views
Files:
1 added
3 edited

Legend:

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

    r59 r71  
    11<g:isLoggedIn>
    2     <g:ifAnyGranted role="ROLE_ADMIN">
     2    <g:ifAnyGranted role="ROLE_AppAdmin">
    33        <span class="appControlButton">
    44            <g:link controller="appCore" action="admin">
     
    88    </g:ifAnyGranted>
    99    <span class="appControlButton">
     10        <g:link controller="appCore" action="options">
     11                Options
     12        </g:link>
     13    </span>
     14    <span class="appControlButton">
    1015        <g:link controller="logout">
    1116                Log out
  • branches/TaskRewrite/src/grails-app/views/appCore/admin.gsp

    r59 r71  
    1616                <ul>
    1717                <g:each var="c" in="${grailsApplication.controllerClasses}">
    18                         <li class="controller"><g:link
    19     controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
     18                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
    2019                </g:each>
    2120                </ul>
  • branches/TaskRewrite/src/grails-app/views/appCore/home.gsp

    r59 r71  
    1515                <div class="message">${flash.message}</div>
    1616            </g:if>
    17             <g:hasErrors bean="${person}">
     17            <g:hasErrors bean="${appCoreInstance}">
    1818                <div class="errors">
    19                     <g:renderErrors bean="${person}" as="list" />
     19                    <g:renderErrors bean="${appCoreInstance}" as="list" />
    2020                </div>
    2121            </g:hasErrors>
Note: See TracChangeset for help on using the changeset viewer.