Author: peter
Date: Sun Sep 27 12:36:21 2009
New Revision: 3550

Log:
update name access point style to match other information object show templates

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

Modified: 
trunk/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showIsadSuccess.php    
Sun Sep 27 09:21:29 2009        (r3549)
+++ trunk/apps/qubit/modules/informationobject/templates/showIsadSuccess.php    
Sun Sep 27 12:36:21 2009        (r3550)
@@ -367,7 +367,7 @@
     </th><td>
       <ul>
         <?php foreach ($nameAccessPoints as $name): ?>
-          <li><?php echo link_to(render_title($name->actor), array('module' => 
'actor', 'action' => 'show', 'id' => $name->actor->id)) ?> (<?php echo 
$name->getType()->getRole() ?>)</li>
+          <li><?php echo link_to(render_title($name->actor), array('module' => 
'actor', 'action' => 'show', 'id' => $name->actor->id)) ?><?php if($role = 
$name->getType()->getRole()): ?><span class="note2"> (<?php echo $role 
?>)</span><?php endif; ?></li>
         <?php endforeach; ?>
       </ul>
     </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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to