Author: jablko
Date: Mon Nov 1 10:59:02 2010
New Revision: 8736
Log:
Add class="field", fixes issue 1719
Modified:
trunk/apps/qubit/modules/informationobject/templates/_creatorDetail.php
Modified:
trunk/apps/qubit/modules/informationobject/templates/_creatorDetail.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_creatorDetail.php
Mon Nov 1 10:49:22 2010 (r8735)
+++ trunk/apps/qubit/modules/informationobject/templates/_creatorDetail.php
Mon Nov 1 10:59:02 2010 (r8736)
@@ -9,12 +9,12 @@
<?php echo link_to(render_title($item), array($item, 'module' =>
'actor'), array('title' => __('Inherited from %1%', array('%1%' =>
$ancestor)))) ?>
<?php endif; ?>
- <?php if (0 < strlen($existence =
$item->getDatesOfExistence(array('cultureFallback' => true)))): ?>
- (<?php echo $existence ?>)
+ <?php if (isset($item->datesOfExistence)): ?>
+ (<?php echo $item->getDatesOfExistence(array('cultureFallback' =>
true)) ?>)
<?php endif; ?>
- <?php if ($resource->id == $ancestor->id): ?>
- <div>
+ <?php if (0 < count($resource->getCreators())): ?>
+ <div class="field">
<h3>
<?php if (QubitTerm::CORPORATE_BODY_ID == $item->entityTypeId): ?>
<?php echo __('Administrative history') ?>
--
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.