Changeset 932 for trunk/grails-app/views
- Timestamp:
- May 19, 2011, 1:38:23 AM (14 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/layouts/main.gsp
r850 r932 34 34 <g:message code="ajax.default.could.not.perform.operation" /> 35 35 </div> 36 <g:if env="production"> 37 <div id="Header"> 38 <a href="javascript: openWindow('http://www.gnumims.org')" id=HeaderLink></a> 39 </div> 40 </g:if> 41 <g:else> 42 <div id="HeaderDev"> 43 <a href="javascript: openWindow('http://www.gnumims.org')" id=HeaderLink></a> 44 </div> 45 </g:else> 36 <div id="${custom.headerId()}"> 37 <a href="javascript: openWindow('http://www.gnumims.org')" id=HeaderLink></a> 38 </div> 46 39 47 40 <g:isLoggedIn> -
trunk/grails-app/views/login/auth.gsp
r221 r932 72 72 <h1>Welcome to gnuMims please log in</h1> 73 73 74 <g:if env="development">74 <g:if test="${grailsApplication.config.demoMode.enabled}"> 75 75 The demo users are <b>user</b>, <b>manager</b> and <b>admin</b> all having the password: <b>pass</b> 76 76 </g:if> … … 85 85 <label for='j_username'>Login ID</label> 86 86 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' /> 89 89 </g:if> 90 90 <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'/> 92 92 </g:else > 93 93 … … 96 96 <label for='j_password'>Password</label> 97 97 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" /> 100 100 </g:if> 101 101 <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' /> 103 103 </g:else > 104 104 </p>
Note: See TracChangeset
for help on using the changeset viewer.