Changeset 498


Ignore:
Timestamp:
Apr 19, 2010, 2:07:48 AM (14 years ago)
Author:
gav
Message:

Improved table row onclick implementation for all detailed list and search views.

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

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/addressDetailed/list.gsp

    r397 r498  
    3636                    <tbody>
    3737                    <g:each in="${addressInstanceList}" status="i" var="addressInstance">
    38                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'/>
     38                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3939                       
    40                             <td>${fieldValue(bean:addressInstance, field:'id')}</td>
     40                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     41                                ${fieldValue(bean:addressInstance, field:'id')}
     42                            </td>
    4143                       
    42                             <td>${fieldValue(bean:addressInstance, field:'street1')}</td>
     44                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     45                                ${fieldValue(bean:addressInstance, field:'street1')}
     46                            </td>
    4347                       
    44                             <td>${fieldValue(bean:addressInstance, field:'street2')}</td>
     48                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     49                                ${fieldValue(bean:addressInstance, field:'street2')}
     50                            </td>
    4551                       
    46                             <td>${fieldValue(bean:addressInstance, field:'city')}</td>
     52                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     53                                ${fieldValue(bean:addressInstance, field:'city')}
     54                            </td>
    4755                       
    48                             <td>${fieldValue(bean:addressInstance, field:'state')}</td>
     56                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     57                                ${fieldValue(bean:addressInstance, field:'state')}
     58                            </td>
    4959                       
    50                             <td>${fieldValue(bean:addressInstance, field:'postCode')}</td>
     60                            <td onclick='window.location = "${request.getContextPath()}/addressDetailed/show/${addressInstance.id}"'>
     61                                ${fieldValue(bean:addressInstance, field:'postCode')}
     62                            </td>
    5163
    52                             <td>
     64                            <td class="notClickable">
    5365                                <g:link action="show" id="${addressInstance.id}">
    5466                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/assetDetailed/search.gsp

    r467 r498  
    116116                        <tbody>
    117117                        <g:each in="${assetInstanceList}" status="i" var="assetInstance">
    118                             <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'/>
     118                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    119119                           
    120                                 <td>${fieldValue(bean:assetInstance, field:'id')}</td>
     120                                <td onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'>
     121                                    ${fieldValue(bean:assetInstance, field:'id')}
     122                                </td>
    121123
    122                                 <td>${fieldValue(bean:assetInstance, field:'name')}</td>
     124                                <td onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'>
     125                                    ${fieldValue(bean:assetInstance, field:'name')}
     126                                </td>
    123127
    124                                 <td>${fieldValue(bean:assetInstance, field:'description')}</td>
     128                                <td onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'>
     129                                    ${fieldValue(bean:assetInstance, field:'description')}
     130                                </td>
    125131
    126                                 <td>${fieldValue(bean:assetInstance, field:'isActive')}</td>
     132                                <td onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'>
     133                                    ${fieldValue(bean:assetInstance, field:'isActive')}
     134                                </td>
    127135
    128                                 <td>${fieldValue(bean:assetInstance, field:'section')}</td>
     136                                <td onclick='window.location = "${request.getContextPath()}/assetDetailed/show/${assetInstance.id}"'>
     137                                    ${fieldValue(bean:assetInstance, field:'section')}
     138                                </td>
    129139
    130                                 <td>
     140                                <td class="notClickable">
    131141                                    <g:link action="show" id="${assetInstance.id}">
    132142                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/assetSubItemDetailed/search.gsp

    r467 r498  
    9595                        <tbody>
    9696                        <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance">
    97                             <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'/>
     97                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    9898                           
    99                                 <td>${fieldValue(bean:assetSubItemInstance, field:'id')}</td>
     99                                <td onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'>
     100                                    ${fieldValue(bean:assetSubItemInstance, field:'id')}
     101                                </td>
    100102
    101                                 <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td>
     103                                <td onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'>
     104                                    ${fieldValue(bean:assetSubItemInstance, field:'name')}
     105                                </td>
    102106
    103                                 <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td>
     107                                <td onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'>
     108                                    ${fieldValue(bean:assetSubItemInstance, field:'description')}
     109                                </td>
    104110
    105                                 <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td>
     111                                <td onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'>
     112                                    ${fieldValue(bean:assetSubItemInstance, field:'isActive')}
     113                                </td>
    106114
    107                                 <td>
     115                                <td class="notClickable">
    108116                                    <g:link action="show" id="${assetSubItemInstance.id}">
    109117                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/costCodeDetailed/list.gsp

    r441 r498  
    3333                    <tbody>
    3434                    <g:each in="${costCodeInstanceList}" status="i" var="costCodeInstance">
    35                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/costCodeDetailed/show/${costCodeInstance.id}"'/>
     35                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3636                       
    37                             <td>${fieldValue(bean:costCodeInstance, field:'id')}</td>
     37                            <td onclick='window.location = "${request.getContextPath()}/costCodeDetailed/show/${costCodeInstance.id}"'>
     38                                ${fieldValue(bean:costCodeInstance, field:'id')}
     39                            </td>
    3840                       
    39                             <td>${fieldValue(bean:costCodeInstance, field:'name')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/costCodeDetailed/show/${costCodeInstance.id}"'>
     42                                ${fieldValue(bean:costCodeInstance, field:'name')}
     43                            </td>
    4044                       
    41                             <td>${fieldValue(bean:costCodeInstance, field:'description')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/costCodeDetailed/show/${costCodeInstance.id}"'>
     46                                ${fieldValue(bean:costCodeInstance, field:'description')}
     47                            </td>
    4248                       
    43                             <td>${fieldValue(bean:costCodeInstance, field:'isActive')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/costCodeDetailed/show/${costCodeInstance.id}"'>
     50                                ${fieldValue(bean:costCodeInstance, field:'isActive')}
     51                            </td>
    4452
    45                             <td>
     53                            <td class="notClickable">
    4654                                <g:link action="show" id="${costCodeInstance.id}">
    4755                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/departmentDetailed/list.gsp

    r412 r498  
    3333                    <tbody>
    3434                    <g:each in="${departmentInstanceList}" status="i" var="departmentInstance">
    35                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'/>
     35                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3636                       
    37                             <td>${fieldValue(bean:departmentInstance, field:'id')}</td>
     37                            <td onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'>
     38                                ${fieldValue(bean:departmentInstance, field:'id')}
     39                            </td>
    3840                       
    39                             <td>${fieldValue(bean:departmentInstance, field:'name')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'>
     42                                ${fieldValue(bean:departmentInstance, field:'name')}
     43                            </td>
    4044                       
    41                             <td>${fieldValue(bean:departmentInstance, field:'description')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'>
     46                                ${fieldValue(bean:departmentInstance, field:'description')}
     47                            </td>
    4248                       
    43                             <td>${fieldValue(bean:departmentInstance, field:'isActive')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/departmentDetailed/show/${departmentInstance.id}"'>
     50                                ${fieldValue(bean:departmentInstance, field:'isActive')}
     51                            </td>
    4452
    45                             <td>
     53                            <td class="notClickable">
    4654                                <g:link action="show" id="${departmentInstance.id}">
    4755                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/extendedAttributeTypeDetailed/list.gsp

    r386 r498  
    3535                    <tbody>
    3636                    <g:each in="${extendedAttributeTypeInstanceList}" status="i" var="extendedAttributeTypeInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/extendedAttributeTypeDetailed/show/${extendedAttributeTypeInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838                       
    39                             <td>${fieldValue(bean:extendedAttributeTypeInstance, field:'id')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/extendedAttributeTypeDetailed/show/${extendedAttributeTypeInstance.id}"'>
     40                                ${fieldValue(bean:extendedAttributeTypeInstance, field:'id')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:extendedAttributeTypeInstance, field:'name')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/extendedAttributeTypeDetailed/show/${extendedAttributeTypeInstance.id}"'>
     44                                ${fieldValue(bean:extendedAttributeTypeInstance, field:'name')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:extendedAttributeTypeInstance, field:'description')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/extendedAttributeTypeDetailed/show/${extendedAttributeTypeInstance.id}"'>
     48                                ${fieldValue(bean:extendedAttributeTypeInstance, field:'description')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:extendedAttributeTypeInstance, field:'isActive')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/extendedAttributeTypeDetailed/show/${extendedAttributeTypeInstance.id}"'>
     52                                ${fieldValue(bean:extendedAttributeTypeInstance, field:'isActive')}
     53                            </td>
    4654                           
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${extendedAttributeTypeInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/inventoryGroupDetailed/list.gsp

    r380 r498  
    3535                    <tbody>
    3636                    <g:each in="${inventoryGroupInstanceList}" status="i" var="inventoryGroupInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838                       
    39                             <td>${fieldValue(bean:inventoryGroupInstance, field:'id')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'>
     40                                ${fieldValue(bean:inventoryGroupInstance, field:'id')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:inventoryGroupInstance, field:'name')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'>
     44                                ${fieldValue(bean:inventoryGroupInstance, field:'name')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:inventoryGroupInstance, field:'description')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'>
     48                                ${fieldValue(bean:inventoryGroupInstance, field:'description')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:inventoryGroupInstance, field:'isActive')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'>
     52                                ${fieldValue(bean:inventoryGroupInstance, field:'isActive')}
     53                            </td>
    4654
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${inventoryGroupInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/inventoryItemDetailed/search.gsp

    r489 r498  
    129129                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" />
    130130
    131                                 <td class='gallery'>
     131                                <td class='notClickable'>
    132132                                    <g:if test="${inventoryItemInstance.picture}" >
    133133                                        <wa:pictureLightboxAnchor picture="${inventoryItemInstance.picture}"
     
    155155                                </td>
    156156
    157                                 <td>
     157                                <td class="notClickable">
    158158                                    <g:link action="show" id="${inventoryItemInstance.id}">
    159159                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/inventoryItemDetailed/show.gsp

    r453 r498  
    353353                                    <tbody>
    354354                                        <g:each in="${inventoryMovementList}" status="i" var="movements">
    355                                             <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'/>
    356 
    357                                                 <td>${fieldValue(bean:movements, field:'quantity')}</td>
    358                                                 <td>${fieldValue(bean:movements, field:'inventoryMovementType')}</td>
    359                                                 <td><g:formatDate date="${movements.date}" format="EEE, dd-MMM-yyyy"/></td>
    360                                                 <td>${fieldValue(bean:movements, field:'person')}</td>
    361                                                 <td>
     355                                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     356
     357                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
     358                                                    ${fieldValue(bean:movements, field:'quantity')}
     359                                                </td>
     360                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
     361                                                    ${fieldValue(bean:movements, field:'inventoryMovementType')}
     362                                                </td>
     363                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
     364                                                    <g:formatDate date="${movements.date}" format="EEE, dd-MMM-yyyy"/>
     365                                                </td>
     366                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${movements.id}"'>
     367                                                    ${fieldValue(bean:movements, field:'person')}
     368                                                </td>
     369
     370                                                <td class="notClickable">
    362371                                                    <g:link controller="inventoryMovementDetailed" action="show" id="${movements.id}">
    363372                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     
    466475                                                    ${fieldValue(bean:purchase, field:'inventoryItemPurchaseType')}
    467476                                                </td>
    468                                                 <td>
     477                                                <td class="notClickable">
    469478                                                    <g:link controller="inventoryItemPurchaseDetailed" action="show" id="${purchase.id}">
    470479                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" />
     
    473482                                                <g:if test="${purchase.inventoryItemPurchaseType.id == 1}">
    474483                                                    <g:if test="${!purchase.receivedComplete}">
    475                                                         <td>
     484                                                        <td class="notClickable">
    476485                                                            <g:link controller="inventoryItemPurchaseDetailed" action="receive" id="${purchase.id}">
    477486                                                                <img  src="${resource(dir:'images/skin',file:'basket_put.png')}" alt="Receive" title="Receive" />
     
    480489                                                    </g:if>
    481490                                                    <g:else>
    482                                                         <td>
     491                                                        <td class="notClickable">
    483492                                                        </td>
    484493                                                    </g:else>
    485494                                                    <g:if test="${!purchase.invoicePaymentApproved}">
    486                                                         <td>
     495                                                        <td class="notClickable">
    487496                                                            <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" id="${purchase.id}">
    488497                                                                <img  src="${resource(dir:'images/skin',file:'tick.png')}" alt="Approve" title="Approve Payment" />
     
    491500                                                    </g:if>
    492501                                                    <g:else>
    493                                                         <td>
     502                                                        <td class="notClickable">
    494503                                                        </td>
    495504                                                    </g:else>
    496505                                                </g:if>
    497506                                                <g:else>
    498                                                     <td>
     507                                                    <td class="notClickable">
    499508                                                    </td>
    500                                                     <td>
     509                                                    <td class="notClickable">
    501510                                                    </td>
    502511                                                </g:else>
  • trunk/grails-app/views/inventoryItemPurchaseDetailed/search.gsp

    r477 r498  
    132132                                        ${fieldValue(bean:purchase, field:'inventoryItemPurchaseType')}
    133133                                    </td>
    134                                     <td>
     134                                    <td class="notClickable">
    135135                                        <g:link controller="inventoryItemPurchaseDetailed" action="show" id="${purchase.id}">
    136136                                            <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" title="Show" />
     
    139139                                    <g:if test="${purchase.inventoryItemPurchaseType.id == 1}">
    140140                                        <g:if test="${!purchase.receivedComplete}">
    141                                             <td>
     141                                            <td class="notClickable">
    142142                                                <g:link controller="inventoryItemPurchaseDetailed" action="receive" id="${purchase.id}">
    143143                                                    <img  src="${resource(dir:'images/skin',file:'basket_put.png')}" alt="Receive" title="Receive" />
     
    146146                                        </g:if>
    147147                                        <g:else>
    148                                             <td>
     148                                            <td class="notClickable">
    149149                                            </td>
    150150                                        </g:else>
    151151                                        <g:if test="${!purchase.invoicePaymentApproved}">
    152                                             <td>
     152                                            <td class="notClickable">
    153153                                                <g:link controller="inventoryItemPurchaseDetailed" action="approveInvoicePayment" id="${purchase.id}">
    154154                                                    <img  src="${resource(dir:'images/skin',file:'tick.png')}" alt="Approve" title="Approve Payment" />
     
    157157                                        </g:if>
    158158                                        <g:else>
    159                                             <td>
     159                                            <td class="notClickable">
    160160                                            </td>
    161161                                        </g:else>
    162162                                    </g:if>
    163163                                    <g:else>
    164                                         <td>
     164                                        <td class="notClickable">
    165165                                        </td>
    166                                         <td>
     166                                        <td class="notClickable">
    167167                                        </td>
    168168                                    </g:else>
  • trunk/grails-app/views/inventoryLocationDetailed/list.gsp

    r377 r498  
    3535                    <tbody>
    3636                    <g:each in="${inventoryLocationInstanceList}" status="i" var="inventoryLocationInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838
    3939                       
    40                             <td>${fieldValue(bean:inventoryLocationInstance, field:'id')}</td>
     40                            <td onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'>
     41                                ${fieldValue(bean:inventoryLocationInstance, field:'id')}
     42                            </td>
    4143                       
    42                             <td>${fieldValue(bean:inventoryLocationInstance, field:'name')}</td>
     44                            <td onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'>
     45                                ${fieldValue(bean:inventoryLocationInstance, field:'name')}
     46                            </td>
    4347                       
    44                             <td>${fieldValue(bean:inventoryLocationInstance, field:'inventoryStore')}</td>
     48                            <td onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'>
     49                                ${fieldValue(bean:inventoryLocationInstance, field:'inventoryStore')}
     50                            </td>
    4551                       
    46                             <td>${fieldValue(bean:inventoryLocationInstance, field:'isActive')}</td>
     52                            <td onclick='window.location = "${request.getContextPath()}/inventoryLocationDetailed/show/${inventoryLocationInstance.id}"'>
     53                                ${fieldValue(bean:inventoryLocationInstance, field:'isActive')}
     54                            </td>
    4755
    48                             <td>
     56                            <td class="notClickable">
    4957                                <g:link action="show" id="${inventoryLocationInstance.id}">
    5058                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/inventoryMovementDetailed/listInventoryMovements.gsp

    r442 r498  
    4040                    <tbody>
    4141                    <g:each in="${inventoryMovementList}" status="i" var="inventoryMovementInstance">
    42                     <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'/>
     42                    <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4343
    44                             <td>${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td>
     44                            <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     45                                ${fieldValue(bean:inventoryMovementInstance, field:'quantity')}
     46                            </td>
    4547                       
    46                             <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}</td>
     48                            <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     49                                ${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}
     50                            </td>
    4751                       
    48                             <td><g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/></td>
     52                            <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     53                                <g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/>
     54                            </td>
    4955                       
    50                             <td>${fieldValue(bean:inventoryMovementInstance, field:'person')}</td>
     56                            <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     57                                ${fieldValue(bean:inventoryMovementInstance, field:'person')}
     58                            </td>
    5159
    52                             <td>
     60                            <td class="notClickable">
    5361                                <g:link action="show" id="${inventoryMovementInstance.id}">
    5462                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/inventoryStoreDetailed/list.gsp

    r377 r498  
    3737                    <tbody>
    3838                    <g:each in="${inventoryStoreInstanceList}" status="i" var="inventoryStoreInstance">
    39                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'/>
     39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4040                       
    41                             <td>${fieldValue(bean:inventoryStoreInstance, field:'id')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'>
     42                                ${fieldValue(bean:inventoryStoreInstance, field:'id')}
     43                            </td>
    4244                       
    43                             <td>${fieldValue(bean:inventoryStoreInstance, field:'name')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'>
     46                                ${fieldValue(bean:inventoryStoreInstance, field:'name')}
     47                            </td>
    4448                       
    45                             <td>${fieldValue(bean:inventoryStoreInstance, field:'description')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'>
     50                                ${fieldValue(bean:inventoryStoreInstance, field:'description')}
     51                            </td>
    4652                       
    47                             <td>${fieldValue(bean:inventoryStoreInstance, field:'isActive')}</td>
     53                            <td onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'>
     54                                ${fieldValue(bean:inventoryStoreInstance, field:'isActive')}
     55                            </td>
    4856                       
    49                             <td>${fieldValue(bean:inventoryStoreInstance, field:'site')}</td>
     57                            <td onclick='window.location = "${request.getContextPath()}/inventoryStoreDetailed/show/${inventoryStoreInstance.id}"'>
     58                                ${fieldValue(bean:inventoryStoreInstance, field:'site')}
     59                            </td>
    5060
    51                             <td>
     61                            <td class="notClickable">
    5262                                <g:link action="show" id="${inventoryStoreInstance.id}">
    5363                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/maintenancePolicyDetailed/list.gsp

    r384 r498  
    3434                    <tbody>
    3535                    <g:each in="${maintenancePolicyInstanceList}" status="i" var="maintenancePolicyInstance">
    36                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'/>
     36                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3737                       
    38                             <td>${fieldValue(bean:maintenancePolicyInstance, field:'id')}</td>
     38                            <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'>
     39                                ${fieldValue(bean:maintenancePolicyInstance, field:'id')}
     40                            </td>
    3941                       
    40                             <td>${fieldValue(bean:maintenancePolicyInstance, field:'name')}</td>
     42                            <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'>
     43                                ${fieldValue(bean:maintenancePolicyInstance, field:'name')}
     44                            </td>
    4145                       
    42                             <td>${fieldValue(bean:maintenancePolicyInstance, field:'description')}</td>
     46                            <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'>
     47                                ${fieldValue(bean:maintenancePolicyInstance, field:'description')}
     48                            </td>
    4349                       
    44                             <td>${fieldValue(bean:maintenancePolicyInstance, field:'isActive')}</td>
     50                            <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'>
     51                                ${fieldValue(bean:maintenancePolicyInstance, field:'isActive')}
     52                            </td>
    4553                           
    46                             <td>
     54                            <td class="notClickable">
    4755                                <g:link action="show" id="${maintenancePolicyInstance.id}">
    4856                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/manufacturerDetailed/list.gsp

    r374 r498  
    3737                    <tbody>
    3838                    <g:each in="${manufacturerInstanceList}" status="i" var="manufacturerInstance">
    39                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'/>
     39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4040                       
    41                             <td>${fieldValue(bean:manufacturerInstance, field:'id')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'>
     42                                ${fieldValue(bean:manufacturerInstance, field:'id')}
     43                            </td>
    4244                       
    43                             <td>${fieldValue(bean:manufacturerInstance, field:'name')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'>
     46                                ${fieldValue(bean:manufacturerInstance, field:'name')}
     47                            </td>
    4448                       
    45                             <td>${fieldValue(bean:manufacturerInstance, field:'description')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'>
     50                                ${fieldValue(bean:manufacturerInstance, field:'description')}
     51                            </td>
    4652                       
    47                             <td>${fieldValue(bean:manufacturerInstance, field:'isActive')}</td>
     53                            <td onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'>
     54                                ${fieldValue(bean:manufacturerInstance, field:'isActive')}
     55                            </td>
    4856                       
    49                             <td>${fieldValue(bean:manufacturerInstance, field:'manufacturerType')}</td>
     57                            <td onclick='window.location = "${request.getContextPath()}/manufacturerDetailed/show/${manufacturerInstance.id}"'>
     58                                ${fieldValue(bean:manufacturerInstance, field:'manufacturerType')}
     59                            </td>
    5060
    51                             <td>
     61                            <td class="notClickable">
    5262                                <g:link action="show" id="${manufacturerInstance.id}">
    5363                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/manufacturerTypeDetailed/list.gsp

    r383 r498  
    3535                    <tbody>
    3636                    <g:each in="${manufacturerTypeInstanceList}" status="i" var="manufacturerTypeInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838
    39                             <td>${fieldValue(bean:manufacturerTypeInstance, field:'id')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'>
     40                                ${fieldValue(bean:manufacturerTypeInstance, field:'id')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:manufacturerTypeInstance, field:'name')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'>
     44                                ${fieldValue(bean:manufacturerTypeInstance, field:'name')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:manufacturerTypeInstance, field:'description')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'>
     48                                ${fieldValue(bean:manufacturerTypeInstance, field:'description')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:manufacturerTypeInstance, field:'isActive')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/manufacturerTypeDetailed/show/${manufacturerTypeInstance.id}"'>
     52                                ${fieldValue(bean:manufacturerTypeInstance, field:'isActive')}
     53                            </td>
    4654                           
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${manufacturerTypeInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/person/list.gsp

    r467 r498  
    8282                <tbody>
    8383                <g:each in="${personList}" status="i" var="person">
    84                     <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'/>
     84                    <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    8585
    86                         <td>${person.id}</td>
    87                         <td>${person.loginName?.encodeAsHTML()}</td>
    88                         <td>${person.firstName?.encodeAsHTML()}</td>
    89                         <td>${person.lastName?.encodeAsHTML()}</td>
    90                         <td>${person.isActive?.encodeAsHTML()}</td>
    91                         <td>
     86                        <td onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'>
     87                            ${person.id}
     88                        </td>
     89
     90                        <td onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'>
     91                            ${person.loginName?.encodeAsHTML()}
     92                        </td>
     93
     94                        <td onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'>
     95                            ${person.firstName?.encodeAsHTML()}
     96                        </td>
     97
     98                        <td onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'>
     99                            ${person.lastName?.encodeAsHTML()}
     100                        </td>
     101
     102                        <td onclick='window.location = "${request.getContextPath()}/person/show/${person.id}"'>
     103                            ${person.isActive?.encodeAsHTML()}
     104                        </td>
     105
     106                        <td class="notClickable">
    92107                            <g:link action="show" id="${person.id}">
    93108                                <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/personGroupDetailed/list.gsp

    r471 r498  
    3535                    <tbody>
    3636                    <g:each in="${personGroupInstanceList}" status="i" var="personGroupInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838                       
    39                             <td>${fieldValue(bean:personGroupInstance, field:'name')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'>
     40                                ${fieldValue(bean:personGroupInstance, field:'name')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:personGroupInstance, field:'description')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'>
     44                                ${fieldValue(bean:personGroupInstance, field:'description')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:personGroupInstance, field:'isActive')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'>
     48                                ${fieldValue(bean:personGroupInstance, field:'isActive')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:personGroupInstance, field:'personGroupType')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/personGroupDetailed/show/${personGroupInstance.id}"'>
     52                                ${fieldValue(bean:personGroupInstance, field:'personGroupType')}
     53                            </td>
    4654
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${personGroupInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/personGroupTypeDetailed/list.gsp

    r471 r498  
    3535                    <tbody>
    3636                    <g:each in="${personGroupTypeInstanceList}" status="i" var="personGroupTypeInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838                       
    39                             <td>${fieldValue(bean:personGroupTypeInstance, field:'id')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'>
     40                                ${fieldValue(bean:personGroupTypeInstance, field:'id')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:personGroupTypeInstance, field:'name')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'>
     44                                ${fieldValue(bean:personGroupTypeInstance, field:'name')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:personGroupTypeInstance, field:'description')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'>
     48                                ${fieldValue(bean:personGroupTypeInstance, field:'description')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:personGroupTypeInstance, field:'isActive')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'>
     52                                ${fieldValue(bean:personGroupTypeInstance, field:'isActive')}
     53                            </td>
    4654
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${personGroupTypeInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/pictureDetailed/list.gsp

    r182 r498  
    2626                        <g:each in="${list}" status="i" var="picture">
    2727                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}">
    28                                 <td class='gallery'>
     28                                <td class="notClickable">
    2929                                    <wa:pictureLightboxAnchor picture="${picture}"
    3030                                                                                        size="${Image.Small}"
     
    4747                                </td>
    4848
    49                                 <td>
     49                                <td class="notClickable">
    5050                                    <g:link action="show" id="${picture.id}">
    5151                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/productionReferenceDetailed/list.gsp

    r431 r498  
    3333                    <tbody>
    3434                    <g:each in="${productionReferenceInstanceList}" status="i" var="productionReferenceInstance">
    35                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/productionReferenceDetailed/show/${productionReferenceInstance.id}"'/>
     35                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3636                       
    37                             <td>${fieldValue(bean:productionReferenceInstance, field:'id')}</td>
     37                            <td onclick='window.location = "${request.getContextPath()}/productionReferenceDetailed/show/${productionReferenceInstance.id}"'>
     38                                ${fieldValue(bean:productionReferenceInstance, field:'id')}
     39                            </td>
    3840                       
    39                             <td>${fieldValue(bean:productionReferenceInstance, field:'name')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/productionReferenceDetailed/show/${productionReferenceInstance.id}"'>
     42                                ${fieldValue(bean:productionReferenceInstance, field:'name')}
     43                            </td>
    4044                       
    41                             <td>${fieldValue(bean:productionReferenceInstance, field:'description')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/productionReferenceDetailed/show/${productionReferenceInstance.id}"'>
     46                                ${fieldValue(bean:productionReferenceInstance, field:'description')}
     47                            </td>
    4248                       
    43                             <td>${fieldValue(bean:productionReferenceInstance, field:'isActive')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/productionReferenceDetailed/show/${productionReferenceInstance.id}"'>
     50                                ${fieldValue(bean:productionReferenceInstance, field:'isActive')}
     51                            </td>
    4452
    45                             <td>
     53                            <td class="notClickable">
    4654                                <g:link action="show" id="${productionReferenceInstance.id}">
    4755                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/sectionDetailed/list.gsp

    r385 r498  
    3737                    <tbody>
    3838                    <g:each in="${sectionInstanceList}" status="i" var="sectionInstance">
    39                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'/>
     39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4040                       
    41                             <td>${fieldValue(bean:sectionInstance, field:'id')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     42                                ${fieldValue(bean:sectionInstance, field:'id')}
     43                            </td>
    4244                       
    43                             <td>${fieldValue(bean:sectionInstance, field:'name')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     46                                ${fieldValue(bean:sectionInstance, field:'name')}
     47                            </td>
    4448                       
    45                             <td>${fieldValue(bean:sectionInstance, field:'description')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     50                                ${fieldValue(bean:sectionInstance, field:'description')}
     51                            </td>
    4652                       
    47                             <td>${fieldValue(bean:sectionInstance, field:'isActive')}</td>
     53                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     54                                ${fieldValue(bean:sectionInstance, field:'isActive')}
     55                            </td>
    4856                       
    49                             <td>${fieldValue(bean:sectionInstance, field:'department')}</td>
     57                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     58                                ${fieldValue(bean:sectionInstance, field:'department')}
     59                            </td>
    5060                       
    51                             <td>${fieldValue(bean:sectionInstance, field:'site')}</td>
     61                            <td onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'>
     62                                ${fieldValue(bean:sectionInstance, field:'site')}
     63                            </td>
    5264
    53                             <td>
     65                            <td class="notClickable">
    5466                                <g:link action="show" id="${sectionInstance.id}">
    5567                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/siteDetailed/list.gsp

    r385 r498  
    3333                    <tbody>
    3434                    <g:each in="${siteInstanceList}" status="i" var="siteInstance">
    35                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'/>
     35                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3636                       
    37                             <td>${fieldValue(bean:siteInstance, field:'id')}</td>
     37                            <td onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'>
     38                                ${fieldValue(bean:siteInstance, field:'id')}
     39                            </td>
    3840                       
    39                             <td>${fieldValue(bean:siteInstance, field:'name')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'>
     42                                ${fieldValue(bean:siteInstance, field:'name')}
     43                            </td>
    4044                       
    41                             <td>${fieldValue(bean:siteInstance, field:'description')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'>
     46                                ${fieldValue(bean:siteInstance, field:'description')}
     47                            </td>
    4248                       
    43                             <td>${fieldValue(bean:siteInstance, field:'isActive')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/siteDetailed/show/${siteInstance.id}"'>
     50                                ${fieldValue(bean:siteInstance, field:'isActive')}
     51                            </td>
    4452
    45                             <td>
     53                            <td class="notClickable">
    4654                                <g:link action="show" id="${siteInstance.id}">
    4755                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/supplierDetailed/list.gsp

    r374 r498  
    3737                    <tbody>
    3838                    <g:each in="${supplierInstanceList}" status="i" var="supplierInstance">
    39                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'/>
     39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4040                       
    41                             <td>${fieldValue(bean:supplierInstance, field:'id')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'>
     42                                ${fieldValue(bean:supplierInstance, field:'id')}
     43                            </td>
    4244                       
    43                             <td>${fieldValue(bean:supplierInstance, field:'name')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'>
     46                                ${fieldValue(bean:supplierInstance, field:'name')}
     47                            </td>
    4448                       
    45                             <td>${fieldValue(bean:supplierInstance, field:'description')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'>
     50                                ${fieldValue(bean:supplierInstance, field:'description')}
     51                            </td>
    4652                       
    47                             <td>${fieldValue(bean:supplierInstance, field:'isActive')}</td>
     53                            <td onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'>
     54                                ${fieldValue(bean:supplierInstance, field:'isActive')}
     55                            </td>
    4856                       
    49                             <td>${fieldValue(bean:supplierInstance, field:'supplierType')}</td>
     57                            <td onclick='window.location = "${request.getContextPath()}/supplierDetailed/show/${supplierInstance.id}"'>
     58                                ${fieldValue(bean:supplierInstance, field:'supplierType')}
     59                            </td>
    5060
    51                             <td>
     61                            <td class="notClickable">
    5262                                <g:link action="show" id="${supplierInstance.id}">
    5363                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/supplierTypeDetailed/list.gsp

    r383 r498  
    3535                    <tbody>
    3636                    <g:each in="${supplierTypeInstanceList}" status="i" var="supplierTypeInstance">
    37                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'/>
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3838
    39                             <td>${fieldValue(bean:supplierTypeInstance, field:'id')}</td>
     39                            <td onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'>
     40                                ${fieldValue(bean:supplierTypeInstance, field:'id')}
     41                            </td>
    4042                       
    41                             <td>${fieldValue(bean:supplierTypeInstance, field:'name')}</td>
     43                            <td onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'>
     44                                ${fieldValue(bean:supplierTypeInstance, field:'name')}
     45                            </td>
    4246                       
    43                             <td>${fieldValue(bean:supplierTypeInstance, field:'description')}</td>
     47                            <td onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'>
     48                                ${fieldValue(bean:supplierTypeInstance, field:'description')}
     49                            </td>
    4450                       
    45                             <td>${fieldValue(bean:supplierTypeInstance, field:'isActive')}</td>
     51                            <td onclick='window.location = "${request.getContextPath()}/supplierTypeDetailed/show/${supplierTypeInstance.id}"'>
     52                                ${fieldValue(bean:supplierTypeInstance, field:'isActive')}
     53                            </td>
    4654                           
    47                             <td>
     55                            <td class="notClickable">
    4856                                <g:link action="show" id="${supplierTypeInstance.id}">
    4957                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/taskDetailed/search.gsp

    r476 r498  
    9797                                <g:sortableColumn property="description" title="Description" params="${filterParams}" />
    9898
    99                                 <g:sortableColumn  property="taskPriority" title="Task Priority" params="${filterParams}" />
     99                                <g:sortableColumn  property="taskPriority" title="Priority" params="${filterParams}" />
    100100
    101                                 <g:sortableColumn  property="taskStatus" title="Task Status" params="${filterParams}" />
     101                                <g:sortableColumn  property="taskStatus" title="Type" params="${filterParams}" />
     102
     103                                <g:sortableColumn  property="taskStatus" title="Status" params="${filterParams}" />
    102104
    103105                                <th></th>
     
    108110                        <tbody>
    109111                        <g:each in="${taskInstanceList}" status="i" var="taskInstance">
    110                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/>
     112                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    111113
    112                                 <td class="idColumn">
     114                                <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
    113115                                    <g:if test="${taskInstance.attentionFlag}">
    114116                                        <img  src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" />
     
    116118                                </td>
    117119
    118                                 <td class="idColumn">${fieldValue(bean:taskInstance, field:'id')}</td>
     120                                <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     121                                    ${fieldValue(bean:taskInstance, field:'id')}
     122                                </td>
    119123
    120                                 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>
     124                                <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     125                                    <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/>
     126                                </td>
    121127
    122                                 <td>${fieldValue(bean:taskInstance, field:'description')}</td>
     128                                <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     129                                    ${fieldValue(bean:taskInstance, field:'description')}
     130                                </td>
    123131
    124                                 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td>
     132                                <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     133                                    ${fieldValue(bean:taskInstance, field:'taskPriority')}
     134                                </td>
    125135
    126                                 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td>
     136                                <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     137                                    ${fieldValue(bean:taskInstance, field:'taskType')}
     138                                </td>
    127139
    128                                 <td>
     140                                <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'>
     141                                    ${fieldValue(bean:taskInstance, field:'taskStatus')}
     142                                </td>
     143
     144                                <td class="notClickable">
    129145                                    <g:link action="show" id="${taskInstance.id}">
    130146                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/taskDetailed/show.gsp

    r474 r498  
    291291                                    <tbody>
    292292                                        <g:each in="${entryFaultList}" status="i" var="entry">
    293                                                 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    294 
    295                                                     <td style="width:65%">${entry.comment.encodeAsHTML()}</td>
    296                                                     <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
    297                                                     <td>
     293                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     294
     295                                                    <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     296                                                        ${entry.comment.encodeAsHTML()}
     297                                                    </td>
     298
     299                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     300                                                        <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/>
     301                                                    </td>
     302
     303                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
    298304                                                        <g:if test="${entry.productionReference}">
    299305                                                            ${entry.productionReference.encodeAsHTML()}
     
    303309                                                        </g:else>
    304310                                                    </td>
    305                                                     <td>${entry.durationHour}:${entry.durationMinute}</td>
    306                                                     <td>${entry.enteredBy.encodeAsHTML()}</td>
    307 
    308                                                     <td>
     311
     312                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     313                                                        ${entry.durationHour}:${entry.durationMinute}
     314                                                    </td>
     315
     316                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     317                                                        ${entry.enteredBy.encodeAsHTML()}
     318                                                    </td>
     319
     320                                                    <td class="notClickable">
    309321                                                        <g:link controller="entryDetailed" action="edit" id="${entry.id}">
    310322                                                            <img  src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" />
     
    349361                                    <tbody>
    350362                                        <g:each in="${entryCauseList}" status="i" var="entry">
    351                                                 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    352 
    353                                                     <td style="width:65%">${entry.comment.encodeAsHTML()}</td>
    354                                                     <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
    355                                                     <td>${entry.enteredBy.encodeAsHTML()}</td>
    356 
    357                                                     <td>
     363                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     364
     365                                                    <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     366                                                        ${entry.comment.encodeAsHTML()}
     367                                                    </td>
     368
     369                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     370                                                        <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/>
     371                                                    </td>
     372
     373                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     374                                                        ${entry.enteredBy.encodeAsHTML()}
     375                                                    </td>
     376
     377                                                    <td class="notClickable">
    358378                                                        <g:link controller="entryDetailed" action="edit" id="${entry.id}">
    359379                                                            <img  src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" />
     
    399419                                    <tbody>
    400420                                        <g:each in="${entryWorkDoneList}" status="i" var="entry">
    401                                                 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    402 
    403                                                     <td width="65%">${entry.comment.encodeAsHTML()}</td>
    404                                                     <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
    405                                                     <td>${entry.durationHour}:${entry.durationMinute}</td>
    406                                                     <td>${entry.enteredBy.encodeAsHTML()}</td>
    407 
    408                                                     <td>
     421                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     422
     423                                                    <td width="65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     424                                                        ${entry.comment.encodeAsHTML()}
     425                                                    </td>
     426                                                   
     427                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     428                                                        <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/>
     429                                                    </td>
     430                                                   
     431                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     432                                                        ${entry.durationHour}:${entry.durationMinute}
     433                                                    </td>
     434                                                   
     435                                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     436                                                        ${entry.enteredBy.encodeAsHTML()}
     437                                                    </td>
     438
     439                                                    <td class="notClickable">
    409440                                                        <g:link controller="entryDetailed" action="edit" id="${entry.id}">
    410441                                                            <img  src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" />
     
    513544
    514545                                                <td valign="top" class="name">
    515                                                     ${maintenanceAction?.procedureStepNumber}
     546                                                    ${fieldValue(bean:maintenanceAction, field:'procedureStepNumber')}
    516547                                                </td>
    517548
    518549                                                <td  valign="top" style="text-align:left;" class="value">
    519                                                     ${maintenanceAction?.description}
     550                                                    ${fieldValue(bean:maintenanceAction, field:'description')}
    520551                                                </td>
    521552
    522553                                                <td  valign="top" style="text-align:left;" class="value">
    523                                                     ${maintenanceAction?.reasoning}
     554                                                    ${fieldValue(bean:maintenanceAction, field:'reasoning')}
    524555                                                </td>
    525556
    526557                                                <td  valign="top" style="text-align:left;" class="value">
    527                                                     ${maintenanceAction?.asset}
     558                                                    ${fieldValue(bean:maintenanceAction, field:'asset')}
    528559                                                </td>
    529560
    530561                                                <td  valign="top" style="text-align:left;" class="value">
    531                                                     ${maintenanceAction?.assetSubItem}
     562                                                    ${fieldValue(bean:maintenanceAction, field:'assetSubItem')}
    532563                                                </td>
    533564
     
    659690                                    <tbody>
    660691                                        <g:each in="${inventoryMovementList}" status="i" var="inventoryMovementInstance">
    661                                             <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'/>
    662 
    663                                                 <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')}</td>
    664                                                 <td>${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td>
    665                                                 <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}</td>
    666                                                 <td><g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/></td>
    667                                                 <td>
     692                                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     693
     694                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     695                                                    ${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')}
     696                                                </td>
     697
     698                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     699                                                    ${fieldValue(bean:inventoryMovementInstance, field:'quantity')}
     700                                                </td>
     701
     702                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     703                                                    ${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}
     704                                                </td>
     705
     706                                                <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'>
     707                                                    <g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/>
     708                                                </td>
     709
     710                                                <td class="notClickable">
    668711                                                    <g:link controller="inventoryMovementDetailed" action="show" id="${inventoryMovementInstance.id}">
    669712                                                        <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     
    720763                                    <tbody>
    721764                                    <g:each in="${subTaskInstanceList}" status="i" var="subTaskInstance">
    722                                     <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'/>
    723 
    724                                             <td>${fieldValue(bean:subTaskInstance, field:'id')}</td>
    725 
    726                                             <td><g:formatDate date="${subTaskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>
    727 
    728                                             <td>${subTaskInstance.description}</td>
    729 
    730 
    731                                             <td>${subTaskInstance.leadPerson}</td>
    732 
    733                                             <td>${subTaskInstance.taskPriority}</td>
    734 
    735                                             <td>${subTaskInstance.taskStatus}</td>
    736 
    737                                             <td>
     765                                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
     766
     767                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     768                                                ${fieldValue(bean:subTaskInstance, field:'id')}
     769                                            </td>
     770
     771                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     772                                                <g:formatDate date="${subTaskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/>
     773                                            </td>
     774
     775                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     776                                                ${fieldValue(bean:subTaskInstance, field:'description')}
     777                                            </td>
     778
     779
     780                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     781                                                ${fieldValue(bean:subTaskInstance, field:'leadPerson')}
     782                                            </td>
     783
     784                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     785                                                ${fieldValue(bean:subTaskInstance, field:'taskPriority')}
     786                                            </td>
     787
     788                                            <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'>
     789                                                ${fieldValue(bean:subTaskInstance, field:'taskStatus')}
     790                                            </td>
     791
     792                                            <td class="notClickable">
    738793                                                <g:link action="show" id="${subTaskInstance.id}">
    739794                                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
  • trunk/grails-app/views/taskRecurringScheduleDetailed/list.gsp

    r199 r498  
    3737                    <tbody>
    3838                    <g:each in="${taskRecurringScheduleInstanceList}" status="i" var="taskRecurringScheduleInstance">
    39                         <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'/>
     39                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    4040
    4141                       
    42                             <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td>
     42                            <td onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'>
     43                                ${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}
     44                            </td>
    4345                       
    44                             <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}</td>
     46                            <td onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'>
     47                                ${fieldValue(bean:taskRecurringScheduleInstance, field:'task')}
     48                            </td>
    4549                       
    46                             <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td>
     50                            <td onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'>
     51                                ${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}
     52                            </td>
    4753                       
    48                             <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}</td>
     54                            <td onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'>
     55                                ${fieldValue(bean:taskRecurringScheduleInstance, field:'recurPeriod')}
     56                            </td>
    4957                       
    50                             <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}</td>
     58                            <td onclick='window.location = "${request.getContextPath()}/taskRecurringScheduleDetailed/show/${taskRecurringScheduleInstance.id}"'>
     59                                ${fieldValue(bean:taskRecurringScheduleInstance, field:'enabled')}
     60                            </td>
    5161
    52                             <td>
     62                            <td class="notClickable">
    5363                                <g:link action="show" id="${taskRecurringScheduleInstance.id}">
    5464                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
Note: See TracChangeset for help on using the changeset viewer.