Author: david
Date: Fri Dec 11 14:54:59 2009
New Revision: 4154
Log:
Don't show relationships header if no relationships.
Modified:
trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php
Modified: trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php Fri Dec
11 14:42:57 2009 (r4153)
+++ trunk/apps/qubit/modules/function/templates/showIsdfSuccess.php Fri Dec
11 14:54:59 2009 (r4154)
@@ -113,13 +113,13 @@
<?php endif; ?>
<!-- Relationships area -->
+<?php if (0 < count($relations)): ?>
<tr id="relationshipsArea">
<td colspan="2" class="subHeaderCell">
<?php echo link_to_if(QubitAcl::check($func, QubitAclAction::UPDATE_ID),
__('relationships area'), array('module' => 'function', 'action' => 'edit',
'id' => $func->id), array('anchor' => 'relationshipsArea', 'title' => __('Edit
relationships area'))) ?>
</td>
</tr>
-<?php if (0 < count($relations)): ?>
<?php foreach ($relations as $relation): ?>
<tr>
<th><?php echo __('related function') ?></th>
--
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.