Author: jablko
Date: Sun Oct 24 13:57:43 2010
New Revision: 8431

Log:
Drop redundant button

Modified:
   trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php

Modified: trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php        Sun Oct 
24 13:54:59 2010        (r8430)
+++ trunk/apps/qubit/modules/taxonomy/templates/indexSuccess.php        Sun Oct 
24 13:57:43 2010        (r8431)
@@ -38,22 +38,16 @@
 
 <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
 
-<?php if (QubitAcl::check(QubitTaxonomy::getRoot(), 'read')): ?>
-  <div class="actions section">
+<div class="actions section">
 
-    <h2 class="element-invisible"><?php echo __('Actions') ?></h2>
-
-    <div class="content">
-      <ul class="clearfix links">
-
-        <?php if (QubitAcl::check($taxonomy, 'createTerm')): ?>
-          <li><?php echo link_to(__('Add new'), array('module' => 'term', 
'action' => 'create', 'taxonomyId' => $taxonomy->id)) ?></li>
-        <?php endif; ?>
-
-        <li><?php echo link_to(__('List all taxonomies'), array('module' => 
'taxonomy', 'action' => 'list')) ?></li>
-
-      </ul>
-    </div>
+  <h2 class="element-invisible"><?php echo __('Actions') ?></h2>
 
+  <div class="content">
+    <ul class="clearfix links">
+      <?php if (QubitAcl::check($taxonomy, 'createTerm')): ?>
+        <li><?php echo link_to(__('Add new'), array('module' => 'term', 
'action' => 'create', 'taxonomyId' => $taxonomy->id)) ?></li>
+      <?php endif; ?>
+    </ul>
   </div>
-<?php endif; ?>
+
+</div>

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

Reply via email to