Author: david
Date: Thu Dec  3 11:43:15 2009
New Revision: 4060

Log:
Show maintenance notes.

Modified:
   trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php

Modified: trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php     Thu Dec 
 3 11:37:21 2009        (r4059)
+++ trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php     Thu Dec 
 3 11:43:15 2009        (r4060)
@@ -223,11 +223,12 @@
   <td><?php echo nl2br($value) ?></td></tr>
 <?php endif; ?>
 
-<?php if (count($notes) > 0): ?>
-  <?php foreach ($notes as $note): ?>
-      <tr><th><?php echo $note->getType()->getName(array('cultureFallback' => 
true)) ?></th>
-      <td><?php echo $note->getContent(array('cultureFallback' => true)) 
?></td></tr>
-  <?php endforeach; ?>
+<?php if (0 < count($maintenanceNotes)): ?>
+  <?php $note = $maintenanceNotes->offsetGet(0) ?>
+  <tr>
+    <th><?php echo __('maintenance notes') ?></th>
+    <td><?php echo $note->getContent(array('cultureFallback' => true)) ?></td>
+  </tr>
 <?php endif; ?>
 
 </tbody>

--

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