Author: sevein
Date: Sat Jul 23 02:00:47 2011
New Revision: 9371
Log:
Show act and basis in the table of existing rights
Modified:
trunk/plugins/qtAccessionPlugin/modules/accession/templates/_right.php
Modified: trunk/plugins/qtAccessionPlugin/modules/accession/templates/_right.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/accession/templates/_right.php
Sat Jul 23 01:27:32 2011 (r9370)
+++ trunk/plugins/qtAccessionPlugin/modules/accession/templates/_right.php
Sat Jul 23 02:00:47 2011 (r9371)
@@ -17,19 +17,27 @@
<?php echo __('Start') ?>
</th><th>
<?php echo __('End') ?>
- </th><th style="text-align: center; width: 10%">
+ </th><th>
+ <?php echo __('Act') ?>
+ </th><th>
+ <?php echo __('Basis') ?>
+ </th><th><th style="text-align: center; width: 10%">
<?php echo image_tag('delete', array('align' => 'top', 'class' =>
'deleteIcon')) ?>
</th>
</tr>
</thead><tbody>
<?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,
'module' => 'right')) ?>">
+ <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 ?>
+ <?php echo $item->object->startDate ?>
+ </td><td>
+ <?php echo $item->object->endDate ?>
</td><td>
- <?php // echo $item->description ?>
+ <?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, 'module' => 'right')) ?>"/>
+ <input class="multiDelete" name="deleteRights[]" type="checkbox"
value="<?php echo url_for(array($item->object, 'module' => 'right')) ?>"/>
</td>
</tr>
<?php endforeach; ?>
@@ -47,6 +55,10 @@
{{$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.