Author: david
Date: Fri Oct 14 15:51:53 2011
New Revision: 10114

Log:
Add line numbers

Modified:
   
trunk/apps/qubit/modules/informationobject/templates/storageLocationsSuccess.php

Modified: 
trunk/apps/qubit/modules/informationobject/templates/storageLocationsSuccess.php
==============================================================================
--- 
trunk/apps/qubit/modules/informationobject/templates/storageLocationsSuccess.php
    Fri Oct 14 15:49:00 2011        (r10113)
+++ 
trunk/apps/qubit/modules/informationobject/templates/storageLocationsSuccess.php
    Fri Oct 14 15:51:53 2011        (r10114)
@@ -13,6 +13,8 @@
   <thead>
     <tr>
       <th>
+        <?php echo __('#') ?>
+      </th><th>
         <?php echo __('Name') ?>
       </th><th>
         <?php echo __('Location') ?>
@@ -21,9 +23,11 @@
       </th>
     </tr>
   </thead><tbody>
-    <?php foreach ($physicalObjects as $item): ?>
+    <?php $row = 1; foreach ($physicalObjects as $item): ?>
       <tr>
         <td>
+          <?php echo $row++ ?>
+        </td><td>
           <?php echo link_to($item->name, array($item, 'module' => 
'physicalobject')) ?>
         </td><td>
           <?php echo $item->location ?>

-- 
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