Author: david
Date: Tue Aug 11 11:12:43 2009
New Revision: 2996

Log:
Hide 'hierarchical relations' section when viewed term has root object as 
parent and no children.

Modified:
   trunk/apps/qubit/modules/term/templates/showSuccess.php

Modified: trunk/apps/qubit/modules/term/templates/showSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/term/templates/showSuccess.php     Tue Aug 11 
10:58:57 2009        (r2995)
+++ trunk/apps/qubit/modules/term/templates/showSuccess.php     Tue Aug 11 
11:12:43 2009        (r2996)
@@ -60,7 +60,7 @@
 </tr>
 <?php endif; ?>
 
-<?php if (0 < count($children) || null !== $term->parentId): ?>
+<?php if (0 < count($children) || QubitTerm::ROOT_ID != $term->parentId): ?>
 <tr>
   <th><?php echo __('Hierarchical terms'); ?></th>
   <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to