- Timestamp:
- Jan 22, 2010, 8:52:22 AM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 2 deleted
- 7 edited
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/DepartmentDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class DepartmentController extends BaseAppAdminController { 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class DepartmentDetailedController extends BaseController { 4 5 5 6 def index = { redirect(action:list,params:params) } -
trunk/grails-app/controllers/DepartmentExtendedAttributeDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class DepartmentExtendedAttributeController extends BaseAppAdminController { 4 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class DepartmentExtendedAttributeDetailedController extends BaseController { 5 5 6 def index = { redirect(action:list,params:params) } 6 7 -
trunk/grails-app/controllers/ExtendedAttributeTypeDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class ExtendedAttributeTypeController extends BaseAppAdminController { 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class ExtendedAttributeTypeDetailedController extends BaseController { 4 5 5 6 def index = { redirect(action:list,params:params) } -
trunk/grails-app/controllers/SectionDetailedController.groovy
r268 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 3 4 class SectionDetailedController extends BaseController { 4 5 -
trunk/grails-app/controllers/SectionExtendedAttributeDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class SectionExtendedAttributeController extends BaseAppAdminController { 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class SectionExtendedAttributeDetailedController extends BaseController { 4 5 5 6 def index = { redirect(action:list,params:params) } -
trunk/grails-app/controllers/SiteDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class SiteController extends BaseAppAdminController { 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class SiteDetailedController extends BaseController { 4 5 5 6 def index = { redirect(action:list,params:params) } -
trunk/grails-app/controllers/SiteExtendedAttributeDetailedController.groovy
r287 r288 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 class SiteExtendedAttributeController extends BaseAppAdminController { 3 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 4 class SiteExtendedAttributeDetailedController extends BaseController { 4 5 5 6 def index = { redirect(action:list,params:params) } -
trunk/grails-app/views/departmentDetailed/edit.gsp
r272 r288 64 64 <ul> 65 65 <g:each var="d" in="${departmentInstance?.departmentExtendedAttributes?}"> 66 <li><g:link controller="departmentExtendedAttribute " action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>66 <li><g:link controller="departmentExtendedAttributeDetailed" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li> 67 67 </g:each> 68 68 </ul> 69 <g:link controller="departmentExtendedAttribute " params="['department.id':departmentInstance?.id]" action="create">Add DepartmentExtendedAttribute</g:link>69 <g:link controller="departmentExtendedAttributeDetailed" params="['department.id':departmentInstance?.id]" action="create">Add DepartmentExtendedAttribute</g:link> 70 70 71 71 </td> … … 96 96 <ul> 97 97 <g:each var="s" in="${departmentInstance?.sections?}"> 98 <li><g:link controller="section " action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>98 <li><g:link controller="sectionDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 99 99 </g:each> 100 100 </ul> 101 <g:link controller="section " params="['department.id':departmentInstance?.id]" action="create">Add Section</g:link>101 <g:link controller="sectionDetailed" params="['department.id':departmentInstance?.id]" action="create">Add Section</g:link> 102 102 103 103 </td> -
trunk/grails-app/views/departmentDetailed/show.gsp
r272 r288 56 56 <ul> 57 57 <g:each var="d" in="${departmentInstance.departmentExtendedAttributes}"> 58 <li><g:link controller="departmentExtendedAttribute " action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>58 <li><g:link controller="departmentExtendedAttributeDetailed" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li> 59 59 </g:each> 60 60 </ul> … … 82 82 <ul> 83 83 <g:each var="s" in="${departmentInstance.sections}"> 84 <li><g:link controller="section " action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>84 <li><g:link controller="sectionDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 85 85 </g:each> 86 86 </ul> -
trunk/grails-app/views/sectionDetailed/edit.gsp
r273 r288 64 64 <ul> 65 65 <g:each var="a" in="${sectionInstance?.assets?}"> 66 <li><g:link controller="asset " action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>66 <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 67 67 </g:each> 68 68 </ul> 69 <g:link controller="asset " params="['section.id':sectionInstance?.id]" action="create">Add Asset</g:link>69 <g:link controller="assetDetailed" params="['section.id':sectionInstance?.id]" action="create">Add Asset</g:link> 70 70 71 71 </td> … … 89 89 <ul> 90 90 <g:each var="m" in="${sectionInstance?.maintenanceActions?}"> 91 <li><g:link controller="maintenanceAction " action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>91 <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 92 92 </g:each> 93 93 </ul> 94 <g:link controller="maintenanceAction " params="['section.id':sectionInstance?.id]" action="create">Add MaintenanceAction</g:link>94 <g:link controller="maintenanceActionDetailed" params="['section.id':sectionInstance?.id]" action="create">Add MaintenanceAction</g:link> 95 95 96 96 </td> … … 105 105 <ul> 106 106 <g:each var="s" in="${sectionInstance?.sectionExtendedAttributes?}"> 107 <li><g:link controller="sectionExtendedAttribute " action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>107 <li><g:link controller="sectionExtendedAttributeDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 108 108 </g:each> 109 109 </ul> 110 <g:link controller="sectionExtendedAttribute " params="['section.id':sectionInstance?.id]" action="create">Add SectionExtendedAttribute</g:link>110 <g:link controller="sectionExtendedAttributeDetailed" params="['section.id':sectionInstance?.id]" action="create">Add SectionExtendedAttribute</g:link> 111 111 112 112 </td> -
trunk/grails-app/views/sectionDetailed/show.gsp
r273 r288 56 56 <ul> 57 57 <g:each var="a" in="${sectionInstance.assets}"> 58 <li><g:link controller="asset " action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>58 <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 59 59 </g:each> 60 60 </ul> … … 66 66 <td valign="top" class="name">Department:</td> 67 67 68 <td valign="top" class="value"><g:link controller="department " action="show" id="${sectionInstance?.department?.id}">${sectionInstance?.department?.encodeAsHTML()}</g:link></td>68 <td valign="top" class="value"><g:link controller="departmentDetailed" action="show" id="${sectionInstance?.department?.id}">${sectionInstance?.department?.encodeAsHTML()}</g:link></td> 69 69 70 70 </tr> … … 76 76 <ul> 77 77 <g:each var="m" in="${sectionInstance.maintenanceActions}"> 78 <li><g:link controller="maintenanceAction " action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>78 <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 79 79 </g:each> 80 80 </ul> … … 89 89 <ul> 90 90 <g:each var="s" in="${sectionInstance.sectionExtendedAttributes}"> 91 <li><g:link controller="sectionExtendedAttribute " action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>91 <li><g:link controller="sectionExtendedAttributeDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 92 92 </g:each> 93 93 </ul> … … 99 99 <td valign="top" class="name">Site:</td> 100 100 101 <td valign="top" class="value"><g:link controller="site " action="show" id="${sectionInstance?.site?.id}">${sectionInstance?.site?.encodeAsHTML()}</g:link></td>101 <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${sectionInstance?.site?.id}">${sectionInstance?.site?.encodeAsHTML()}</g:link></td> 102 102 103 103 </tr> -
trunk/grails-app/views/sectionExtendedAttributeDetailed/show.gsp
r268 r288 46 46 <td valign="top" class="name">Extended Attribute Type:</td> 47 47 48 <td valign="top" class="value"><g:link controller="extendedAttributeType " action="show" id="${sectionExtendedAttributeInstance?.extendedAttributeType?.id}">${sectionExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>48 <td valign="top" class="value"><g:link controller="extendedAttributeTypeDetailed" action="show" id="${sectionExtendedAttributeInstance?.extendedAttributeType?.id}">${sectionExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td> 49 49 50 50 </tr> … … 53 53 <td valign="top" class="name">Section:</td> 54 54 55 <td valign="top" class="value"><g:link controller="section " action="show" id="${sectionExtendedAttributeInstance?.section?.id}">${sectionExtendedAttributeInstance?.section?.encodeAsHTML()}</g:link></td>55 <td valign="top" class="value"><g:link controller="sectionDetailed" action="show" id="${sectionExtendedAttributeInstance?.section?.id}">${sectionExtendedAttributeInstance?.section?.encodeAsHTML()}</g:link></td> 56 56 57 57 </tr> -
trunk/grails-app/views/siteExtendedAttributeDetailed/show.gsp
r268 r288 46 46 <td valign="top" class="name">Extended Attribute Type:</td> 47 47 48 <td valign="top" class="value"><g:link controller="extendedAttributeType " action="show" id="${siteExtendedAttributeInstance?.extendedAttributeType?.id}">${siteExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>48 <td valign="top" class="value"><g:link controller="extendedAttributeTypeDetailed" action="show" id="${siteExtendedAttributeInstance?.extendedAttributeType?.id}">${siteExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td> 49 49 50 50 </tr> … … 53 53 <td valign="top" class="name">Site:</td> 54 54 55 <td valign="top" class="value"><g:link controller="site " action="show" id="${siteExtendedAttributeInstance?.site?.id}">${siteExtendedAttributeInstance?.site?.encodeAsHTML()}</g:link></td>55 <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${siteExtendedAttributeInstance?.site?.id}">${siteExtendedAttributeInstance?.site?.encodeAsHTML()}</g:link></td> 56 56 57 57 </tr>
Note: See TracChangeset
for help on using the changeset viewer.