Author: david
Date: Fri Oct 9 12:18:44 2009
New Revision: 3707
Log:
Copy
'show' name access point changes from r3701 to MODS and RAD templates (no
access points on DC).
Modified:
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
Fri Oct 9 00:02:26 2009 (r3706)
+++ trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
Fri Oct 9 12:18:44 2009 (r3707)
@@ -36,14 +36,18 @@
</tr>
<?php endif; ?>
-<?php if (0 < count($nameAccessPoints)): ?>
- <?php foreach ($nameAccessPoints as $name): ?>
- <tr><th><?php echo __('name') ?></th>
- <td>
- <?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; ?>
- </td>
- </tr>
- <?php endforeach; ?>
+<?php if (0 < count($nameAccessPoints) ): ?>
+ <tr>
+ <th>
+ <?php echo __('name access points') ?>
+ </th><td>
+ <ul>
+ <?php foreach ($nameAccessPoints as $relation): ?>
+ <li><?php echo link_to(render_title($relation->object),
array('module' => 'actor', 'action' => 'show', 'id' => $relation->object->id))
?></li>
+ <?php endforeach; ?>
+ </ul>
+ </td>
+ </tr>
<?php endif; ?>
<?php if (0 < count($informationObject->getDates())): ?>
Modified:
trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Fri Oct 9 00:02:26 2009 (r3706)
+++ trunk/apps/qubit/modules/informationobject/templates/showRadSuccess.php
Fri Oct 9 12:18:44 2009 (r3707)
@@ -342,14 +342,14 @@
</tr>
<?php endif; ?>
-<?php if (0 < count($nameAccessPoints)): ?>
+<?php if (0 < count($nameAccessPoints) ): ?>
<tr>
<th>
<?php echo __('name access points') ?>
</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 if($role =
$name->getType()->getRole()): ?><span class="note2"> (<?php echo $role
?>)</span><?php endif; ?></li>
+ <?php foreach ($nameAccessPoints as $relation): ?>
+ <li><?php echo link_to(render_title($relation->object),
array('module' => 'actor', 'action' => 'show', 'id' => $relation->object->id))
?></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
-~----------~----~----~----~------~----~------~--~---