Author: sevein
Date: Fri Aug 12 16:57:36 2011
New Revision: 9487

Log:
Update relatedRights table columns

Modified:
   trunk/apps/qubit/modules/right/templates/_edit.php

Modified: trunk/apps/qubit/modules/right/templates/_edit.php
==============================================================================
--- trunk/apps/qubit/modules/right/templates/_edit.php  Fri Aug 12 16:55:14 
2011        (r9486)
+++ trunk/apps/qubit/modules/right/templates/_edit.php  Fri Aug 12 16:57:36 
2011        (r9487)
@@ -14,14 +14,12 @@
     </caption><thead>
       <tr>
         <th>
+          <?php echo __('Act') ?>
+        </th><th>
           <?php echo __('Start') ?>
         </th><th>
           <?php echo __('End') ?>
-        </th><th>
-          <?php echo __('Act') ?>
-        </th><th>
-          <?php echo __('Basis') ?>
-        </th><th><th style="text-align: center; width: 10%">
+        </th><th style="text-align: center; width: 10%">
           <?php echo image_tag('delete', array('align' => 'top', 'class' => 
'deleteIcon')) ?>
         </th>
       </tr>
@@ -29,13 +27,11 @@
       <?php foreach ($rights as $item): ?>
         <tr class="<?php echo 0 == ++$row % 2 ? 'even' : 'odd' ?> 
related_obj_<?php echo $item->id ?>" id="<?php echo 
url_for(array($item->object, 'module' => 'right')) ?>">
           <td>
+            <?php echo $item->object->act ?>
+          </td><td>
             <?php echo $item->object->startDate ?>
           </td><td>
             <?php echo $item->object->endDate ?>
-          </td><td>
-            <?php echo $item->object->act ?>
-          </td><td>
-            <?php echo $item->object->basis ?>
           </td><td style="text-align: center">
             <input class="multiDelete" name="deleteRights[]" type="checkbox" 
value="<?php echo url_for(array($item->object, 'module' => 'right')) ?>"/>
           </td>
@@ -52,13 +48,11 @@
 $rowTemplate = json_encode(<<<value
 <tr id="{{$form->getWidgetSchema()->generateName('id')}}">
   <td>
+    {{$form->act->renderName()}}
+  </td><td>
     {{$form->startDate->renderName()}}
   </td><td>
     {{$form->endDate->renderName()}}
-  </td><td>
-    {{$form->act->renderName()}}
-  </td><td>
-    {{$form->basis->renderName()}}
   </td><td style="text-align: right">
     $editHtml <button class="delete-small" name="delete" type="button"/>
   </td>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to