Changeset 410


Ignore:
Timestamp:
Feb 24, 2010, 12:39:26 PM (10 years ago)
Author:
gav
Message:

Add a plus(+) sign to all detailed views with an Add link.

Location:
trunk/grails-app/views
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assetDetailed/edit.gsp

    r370 r410  
    8282</g:each>
    8383</ul>
    84 <g:link controller="assetExtendedAttributeDetailed" params="['asset.id':assetInstance?.id]" action="create">Add AssetExtendedAttribute</g:link>
     84<g:link controller="assetExtendedAttributeDetailed" params="['asset.id':assetInstance?.id]" action="create">+Add Extended Attribute</g:link>
    8585
    8686                                </td>
     
    114114</g:each>
    115115</ul>
    116 <g:link controller="maintenanceActionDetailed" params="['asset.id':assetInstance?.id]" action="create">Add MaintenanceAction</g:link>
     116<g:link controller="maintenanceActionDetailed" params="['asset.id':assetInstance?.id]" action="create">+Add Maintenance Action</g:link>
    117117
    118118                                </td>
  • trunk/grails-app/views/assetSubItemDetailed/edit.gsp

    r388 r410  
    7373</g:each>
    7474</ul>
    75 <g:link controller="assetSubItemExtendedAttributeDetailed" params="['assetSubItem.id':assetSubItemInstance?.id]" action="create">Add Extended Attribute</g:link>
     75<g:link controller="assetSubItemExtendedAttributeDetailed" params="['assetSubItem.id':assetSubItemInstance?.id]" action="create">+Add Extended Attribute</g:link>
    7676
    7777                                </td>
     
    123123</g:each>
    124124</ul>
    125 <g:link controller="assetSubItemDetailed" params="['parentItem.id':assetSubItemInstance?.id]" action="create">Add Sub Item</g:link>
     125<g:link controller="assetSubItemDetailed" params="['parentItem.id':assetSubItemInstance?.id]" action="create">+Add Sub Item</g:link>
    126126
    127127                                </td>
     
    139139</g:each>
    140140</ul>
    141 <g:link controller="maintenanceActionDetailed" params="['assetSubItem.id':assetSubItemInstance?.id]" action="create">Add Maintenance Action</g:link>
     141<g:link controller="maintenanceActionDetailed" params="['assetSubItem.id':assetSubItemInstance?.id]" action="create">+Add Maintenance Action</g:link>
    142142
    143143                                </td>
  • trunk/grails-app/views/departmentDetailed/edit.gsp

    r333 r410  
    7676</g:each>
    7777</ul>
    78 <g:link controller="departmentExtendedAttributeDetailed" params="['department.id':departmentInstance?.id]" action="create">Add DepartmentExtendedAttribute</g:link>
     78<g:link controller="departmentExtendedAttributeDetailed" params="['department.id':departmentInstance?.id]" action="create">+Add Extended Attribute</g:link>
    7979
    8080                                </td>
     
    9292</g:each>
    9393</ul>
    94 <g:link controller="person" params="['department.id':departmentInstance?.id]" action="create">Add Person</g:link>
     94<g:link controller="person" params="['department.id':departmentInstance?.id]" action="create">+Add Person</g:link>
    9595
    9696                                </td>
     
    108108</g:each>
    109109</ul>
    110 <g:link controller="sectionDetailed" params="['department.id':departmentInstance?.id]" action="create">Add Section</g:link>
     110<g:link controller="sectionDetailed" params="['department.id':departmentInstance?.id]" action="create">+Add Section</g:link>
    111111
    112112                                </td>
  • trunk/grails-app/views/inventoryGroupDetailed/edit.gsp

    r380 r410  
    6666</g:each>
    6767</ul>
    68 <g:link controller="inventoryItemDetailed" params="['inventoryGroup.id':inventoryGroupInstance?.id]" action="create">Add InventoryItem</g:link>
     68<g:link controller="inventoryItemDetailed" params="['inventoryGroup.id':inventoryGroupInstance?.id]" action="create">+Add Inventory Item</g:link>
    6969
    7070                                </td>
  • trunk/grails-app/views/inventoryItemDetailed/create.gsp

    r405 r410  
    5353                                    </g:select>
    5454
    55                                 <p><g:link controller="inventoryLocationDetailed" action="create">add Location</g:link></p>
     55                                <p><g:link controller="inventoryLocationDetailed" action="create">+Add Location</g:link></p>
    5656                                </td>
    5757                            </tr>
     
    8989                                    <g:select optionKey="id" from="${InventoryGroup.list()}" name="inventoryGroup.id" value="${inventoryItemInstance?.inventoryGroup?.id}" ></g:select>
    9090
    91                                 <p><g:link controller="inventoryGroupDetailed" action="create">add Group</g:link></p>
     91                                <p><g:link controller="inventoryGroupDetailed" action="create">+Add Group</g:link></p>
    9292                                </td>
    9393                            </tr>
     
    146146                                                        value="${inventoryItemInstance?.suppliers?.id}" noSelection="['':'--None--']"/>
    147147
    148                                 <p><g:link controller="supplierDetailed" action="create">add Supplier</g:link></p>
     148                                <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p>
    149149                                </td>
    150150                            </tr>
     
    169169                                                        value="${inventoryItemInstance?.manufacturers?.id}" noSelection="['':'--None--']" />
    170170
    171                                     <p><g:link controller="manufacturerDetailed" action="create">add Manufacturer</g:link></p>
     171                                    <p><g:link controller="manufacturerDetailed" action="create">+Add Manufacturer</g:link></p>
    172172                                </td>
    173173                            </tr>
  • trunk/grails-app/views/inventoryItemDetailed/edit.gsp

    r405 r410  
    185185                                                        value="${inventoryItemInstance?.suppliers.id}" noSelection="['':'--None--']"/>
    186186
    187                                 <p><g:link controller="supplierDetailed" action="create">add Supplier</g:link></p>
     187                                <p><g:link controller="supplierDetailed" action="create">+Add Supplier</g:link></p>
    188188                                </td>
    189189                            </tr>
     
    208208                                                        value="${inventoryItemInstance?.manufacturers.id}" noSelection="['':'--None--']"/>
    209209
    210                                     <p><g:link controller="manufacturerDetailed" action="create">add Manufacturer</g:link></p>
     210                                    <p><g:link controller="manufacturerDetailed" action="create">+Add Manufacturer</g:link></p>
    211211                                </td>
    212212                            </tr>
  • trunk/grails-app/views/inventoryLocationDetailed/edit.gsp

    r377 r410  
    6666</g:each>
    6767</ul>
    68 <g:link controller="inventoryItemDetailed" params="['inventoryLocation.id':inventoryLocationInstance?.id]" action="create">Add InventoryItem</g:link>
     68<g:link controller="inventoryItemDetailed" params="['inventoryLocation.id':inventoryLocationInstance?.id]" action="create">+Add Inventory Item</g:link>
    6969
    7070                                </td>
  • trunk/grails-app/views/inventoryStoreDetailed/edit.gsp

    r377 r410  
    7575</g:each>
    7676</ul>
    77 <g:link controller="inventoryLocationDetailed" params="['inventoryStore.id':inventoryStoreInstance?.id]" action="create">Add InventoryLocation</g:link>
     77<g:link controller="inventoryLocationDetailed" params="['inventoryStore.id':inventoryStoreInstance?.id]" action="create">+Add Inventory Location</g:link>
    7878
    7979                                </td>
  • trunk/grails-app/views/maintenanceActionDetailed/create.gsp

    r368 r410  
    103103                                <td valign="top" class="value ${hasErrors(bean:maintenanceActionInstance,field:'taskProcedure','errors')}">
    104104                                    <g:select optionKey="id" from="${TaskProcedure.list()}" name="taskProcedure.id" value="${maintenanceActionInstance?.taskProcedure?.id}" ></g:select>
    105                                     <p><g:link controller="taskProcedureDetailed" action="create">Add Task Procedure</g:link></p>
     105                                    <p><g:link controller="taskProcedureDetailed" action="create">+Add Task Procedure</g:link></p>
    106106                                </td>
    107107                            </tr>
  • trunk/grails-app/views/manufacturerTypeDetailed/edit.gsp

    r383 r410  
    6666</g:each>
    6767</ul>
    68 <g:link controller="manufacturerDetailed" params="['manufacturerType.id':manufacturerTypeInstance?.id]" action="create">Add Manufacturer</g:link>
     68<g:link controller="manufacturerDetailed" params="['manufacturerType.id':manufacturerTypeInstance?.id]" action="create">+Add Manufacturer</g:link>
    6969
    7070                                </td>
  • trunk/grails-app/views/sectionDetailed/create.gsp

    r385 r410  
    6767                                    <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${sectionInstance?.department?.id}" ></g:select>
    6868                                    <p>
    69                                         <g:link controller="departmentDetailed" action="create">Add Department</g:link>
     69                                        <g:link controller="departmentDetailed" action="create">+Add Department</g:link>
    7070                                    </p>
    7171                                </td>
     
    7979                                    <g:select optionKey="id" from="${Site.list()}" name="site.id" value="${sectionInstance?.site?.id}" ></g:select>
    8080                                    <p>
    81                                         <g:link controller="siteDetailed" action="create">Add Site</g:link>
     81                                        <g:link controller="siteDetailed" action="create">+Add Site</g:link>
    8282                                    </p>
    8383                                </td>
  • trunk/grails-app/views/sectionDetailed/edit.gsp

    r385 r410  
    7373</g:each>
    7474</ul>
    75 <g:link controller="assetDetailed" params="['section.id':sectionInstance?.id]" action="create">Add Asset</g:link>
     75<g:link controller="assetDetailed" params="['section.id':sectionInstance?.id]" action="create">+Add Asset</g:link>
    7676
    7777                                </td>
     
    8585                                    <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${sectionInstance?.department?.id}" ></g:select>
    8686                                    <p>
    87                                         <g:link controller="departmentDetailed" action="create">Add Department</g:link>
     87                                        <g:link controller="departmentDetailed" action="create">+Add Department</g:link>
    8888                                    </p>
    8989                                </td>
     
    101101</g:each>
    102102</ul>
    103 <g:link controller="maintenanceActionDetailed" params="['section.id':sectionInstance?.id]" action="create">Add MaintenanceAction</g:link>
     103<g:link controller="maintenanceActionDetailed" params="['section.id':sectionInstance?.id]" action="create">+Add Maintenance Action</g:link>
    104104
    105105                                </td>
     
    117117</g:each>
    118118</ul>
    119 <g:link controller="sectionExtendedAttributeDetailed" params="['section.id':sectionInstance?.id]" action="create">Add SectionExtendedAttribute</g:link>
     119<g:link controller="sectionExtendedAttributeDetailed" params="['section.id':sectionInstance?.id]" action="create">+Add Extended Attribute</g:link>
    120120
    121121                                </td>
  • trunk/grails-app/views/siteDetailed/edit.gsp

    r402 r410  
    7373</g:each>
    7474</ul>
    75 <g:link controller="inventoryStoreDetailed" params="['site.id':siteInstance?.id]" action="create">Add Inventory Store</g:link>
     75<g:link controller="inventoryStoreDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Inventory Store</g:link>
    7676
    7777                                </td>
     
    121121</g:each>
    122122</ul>
    123 <g:link controller="sectionDetailed" params="['site.id':siteInstance?.id]" action="create">Add Section</g:link>
     123<g:link controller="sectionDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Section</g:link>
    124124
    125125                                </td>
     
    137137</g:each>
    138138</ul>
    139 <g:link controller="siteExtendedAttributeDetailed" params="['site.id':siteInstance?.id]" action="create">Add SiteExtendedAttribute</g:link>
     139<g:link controller="siteExtendedAttributeDetailed" params="['site.id':siteInstance?.id]" action="create">+Add Extended Attribute</g:link>
    140140
    141141                                </td>
  • trunk/grails-app/views/supplierTypeDetailed/edit.gsp

    r383 r410  
    6666</g:each>
    6767</ul>
    68 <g:link controller="supplierDetailed" params="['supplierType.id':supplierTypeInstance?.id]" action="create">Add Supplier</g:link>
     68<g:link controller="supplierDetailed" params="['supplierType.id':supplierTypeInstance?.id]" action="create">+Add Supplier</g:link>
    6969
    7070                                </td>
  • trunk/grails-app/views/taskDetailed/show.gsp

    r324 r410  
    190190                                            </g:each>
    191191                                            </ul>
    192                                             <g:link controller="assignedGroupDetailed" action="create" params="['task.id':taskInstance.id]">Add Assigned Group</g:link>
     192                                            <g:link controller="assignedGroupDetailed" action="create" params="['task.id':taskInstance.id]">+Add Group</g:link>
    193193                                        </td>
    194194
     
    205205                                            </g:each>
    206206                                            </ul>
    207                                             <g:link controller="assignedPersonDetailed" action="create" params="['task.id':taskInstance?.id]">Add Assigned Person</g:link>
     207                                            <g:link controller="assignedPersonDetailed" action="create" params="['task.id':taskInstance?.id]">+Add Person</g:link>
    208208                                        </td>
    209209
  • trunk/grails-app/views/taskProcedureDetailed/edit.gsp

    r147 r410  
    6666</g:each>
    6767</ul>
    68 <g:link controller="maintenanceActionDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">Add MaintenanceAction</g:link>
     68<g:link controller="maintenanceActionDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">+Add MaintenanceAction</g:link>
    6969
    7070                                </td>
     
    8282</g:each>
    8383</ul>
    84 <g:link controller="taskDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">Add Task</g:link>
     84<g:link controller="taskDetailed" params="['taskProcedure.id':taskProcedureInstance?.id]" action="create">+Add Task</g:link>
    8585
    8686                                </td>
Note: See TracChangeset for help on using the changeset viewer.