Ignore:
Timestamp:
May 22, 2011, 12:29:29 AM (13 years ago)
Author:
gav
Message:

Svn merge -r920:r941 trunk/ into branches/features/purchaseOrders.
This brings the purchaseOrder branch fully up to date.

Location:
branches/features/purchaseOrders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders

    • Property svn:ignore
      •  

        old new  
        11*.log*
        22*.war
         3*.iml
         4*.ipr
         5*.iws
        36target
         7out
        48.directory
        5 
        6 *.iml
    • Property svn:mergeinfo changed
      /trunkmerged: 921-923,​932-936,​939-941
  • branches/features/purchaseOrders/grails-app/views/login/auth.gsp

    r221 r942  
    7272        <h1>Welcome to gnuMims please log in</h1>
    7373
    74         <g:if env="development">
     74        <g:if test="${grailsApplication.config.demoMode.enabled}">
    7575        The demo users are <b>user</b>, <b>manager</b> and  <b>admin</b> all having the password: <b>pass</b>
    7676        </g:if>
     
    8585                    <label for='j_username'>Login ID</label>
    8686
    87                     <g:if env="production">
    88                         <input type='text' class='text_' name='j_username' id='j_username'/>
     87                    <g:if test="${grailsApplication.config.demoMode.enabled}">
     88                        <input type='text' class='text_' name='j_username' id='j_username' value='manager'  />
    8989                    </g:if>
    9090                    <g:else >
    91                         <input type='text' class='text_' name='j_username' id='j_username' value='manager'  />
     91                        <input type='text' class='text_' name='j_username' id='j_username'/>
    9292                    </g:else >
    9393
     
    9696                    <label for='j_password'>Password</label>
    9797
    98                     <g:if env="production">
    99                         <input type='password' class='text_' name='j_password' id='j_password' />
     98                    <g:if test="${grailsApplication.config.demoMode.enabled}">
     99                        <input type='password' class='text_' name='j_password' id='j_password' value="pass" />
    100100                    </g:if>
    101101                    <g:else >
    102                         <input type='password' class='text_' name='j_password' id='j_password' value="pass" />
     102                        <input type='password' class='text_' name='j_password' id='j_password' />
    103103                    </g:else >
    104104                </p>
Note: See TracChangeset for help on using the changeset viewer.