Author: peter
Date: Sun Sep 27 13:15:34 2009
New Revision: 3551

Log:
display dates of existence for related Actors. Fixes issue #865

Modified:
   trunk/apps/qubit/modules/actor/templates/showIsaarSuccess.php

Modified: trunk/apps/qubit/modules/actor/templates/showIsaarSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/actor/templates/showIsaarSuccess.php       Sun Sep 
27 12:36:21 2009        (r3550)
+++ trunk/apps/qubit/modules/actor/templates/showIsaarSuccess.php       Sun Sep 
27 13:15:34 2009        (r3551)
@@ -89,10 +89,12 @@
         <?php $relatedActor = $actorRelation->getSubject() ?>
         <?php echo 
link_to($relatedActor->getAuthorizedFormOfName(array('cultureFallback' => 
true)),
         array('module' => 'actor', 'action' => 'show', 'id' => 
$actorRelation->getSubjectId())) ?>
+        <?php if ($existence = 
$relatedActor->getDatesOfExistence(array('cultureFallback' => true))): ?><span 
class="note2"> (<?php echo $existence ?>)</span><?php endif; ?>
       <?php else: ?>
         <?php $relatedActor = $actorRelation->getObject() ?>
         <?php echo 
link_to($relatedActor->getAuthorizedFormOfName(array('cultureFallback' => 
true)),
         array('module' => 'actor', 'action' => 'show', 'id' => 
$actorRelation->getObjectId())) ?>
+        <?php if ($existence = 
$relatedActor->getDatesOfExistence(array('cultureFallback' => true))): ?><span 
class="note2"> (<?php echo $existence ?>)</span><?php endif; ?>
       <?php endif; ?>
 
       <table class="detail" style="margin-top: 5px;">

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