Author: david
Date: 2008-11-11 12:40:50 -0800 (Tue, 11 Nov 2008)
New Revision: 1565

Modified:
   trunk/qubit/apps/qubit/modules/actor/templates/showIsaarSuccess.php
   trunk/qubit/apps/qubit/modules/repository/templates/showIsdiahSuccess.php
Log:
Add "list all" and "add new" buttons to show templates for repository and 
actor, to make them consistent with informationobject show templates. Fixes 
issue #488.

Modified: trunk/qubit/apps/qubit/modules/actor/templates/showIsaarSuccess.php
===================================================================
--- trunk/qubit/apps/qubit/modules/actor/templates/showIsaarSuccess.php 
2008-11-11 20:17:42 UTC (rev 1564)
+++ trunk/qubit/apps/qubit/modules/actor/templates/showIsaarSuccess.php 
2008-11-11 20:40:50 UTC (rev 1565)
@@ -160,4 +160,8 @@
   <?php echo link_to(__('edit %1%', array('%1%' => 
sfConfig::get('app_ui_label_actor'))), 'actor/editIsaar?id='.$actor->getId()) ?>
   </div>
 <?php endif; ?>
-</table>
+
+<div class="menu-extra">
+  <?php echo link_to(__('add new %1%', array('%1%' => 
sfConfig::get('app_ui_label_actor'))), 'actor/createIsaar'); ?>
+  <?php echo link_to(__('list all %1%', array('%1%' => 
sfConfig::get('app_ui_label_actor'))), 'actor/list'); ?>
+</div>

Modified: 
trunk/qubit/apps/qubit/modules/repository/templates/showIsdiahSuccess.php
===================================================================
--- trunk/qubit/apps/qubit/modules/repository/templates/showIsdiahSuccess.php   
2008-11-11 20:17:42 UTC (rev 1564)
+++ trunk/qubit/apps/qubit/modules/repository/templates/showIsdiahSuccess.php   
2008-11-11 20:40:50 UTC (rev 1565)
@@ -251,3 +251,8 @@
 <?php echo link_to(__('edit %1%', array('%1%' => 
sfConfig::get('app_ui_label_repository'))), 
'repository/editIsdiah?id='.$repository->getId()) ?>
 <?php endif; ?>
 </div>
+
+<div class="menu-extra">
+  <?php echo link_to(__('add new %1%', array('%1%' => 
sfConfig::get('app_ui_label_repository'))), 'repository/createIsdiah'); ?>
+  <?php echo link_to(__('list all %1%', array('%1%' => 
sfConfig::get('app_ui_label_repository'))), 'repository/list'); ?>
+</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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to