Author: sevein
Date: Thu Jul 19 10:17:34 2012
New Revision: 11941
Log:
Remove module parameter when building actor links since they may be also
institutions, or any other inherited entity like donor. Fixes issue 2376.
Modified:
trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Thu Jul 19 00:02:13 2012 (r11940)
+++ trunk/apps/qubit/modules/informationobject/templates/_nameAccessPoints.php
Thu Jul 19 10:17:34 2012 (r11941)
@@ -5,13 +5,13 @@
<?php foreach ($resource->getActorEvents() as $item): ?>
<?php if (isset($item->actor)): ?>
- <li><?php echo link_to(render_title($item->actor),
array($item->actor, 'module' => 'actor')) ?> <span class="note2">(<?php echo
$item->type->getRole() ?>)</span></li>
+ <li><?php echo link_to(render_title($item->actor),
array($item->actor)) ?> <span class="note2">(<?php echo $item->type->getRole()
?>)</span></li>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach ($resource->relationsRelatedBysubjectId as $item): ?>
<?php if (isset($item->type) && QubitTerm::NAME_ACCESS_POINT_ID ==
$item->type->id): ?>
- <li><?php echo link_to(render_title($item->object),
array($item->object, 'module' => 'actor')) ?><span class="note2"> (<?php echo
__('Subject') ?>)</span></li>
+ <li><?php echo link_to(render_title($item->object),
array($item->object)) ?><span class="note2"> (<?php echo __('Subject')
?>)</span></li>
<?php endif; ?>
<?php endforeach; ?>
--
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.