Author: peter
Date: Sun Sep 20 14:53:09 2009
New Revision: 3445

Log:
direct user to 'show' instead of 'edit' template after succesful import. More 
consistent with other app behaviour plus it is actually more useful

Modified:
   trunk/apps/qubit/modules/object/templates/importSuccess.php

Modified: trunk/apps/qubit/modules/object/templates/importSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/object/templates/importSuccess.php Sun Sep 20 
14:44:34 2009        (r3444)
+++ trunk/apps/qubit/modules/object/templates/importSuccess.php Sun Sep 20 
14:53:09 2009        (r3445)
@@ -9,7 +9,7 @@
 <?php endif; ?>
 
 <div class="menu-action">
-  <?php echo link_to (__('edit %1%', array('%1%' => 
sfConfig::get('app_ui_label_'.strtolower($objectType)))), 
strtolower($objectType).'/edit?id='.$import->getRootObject()->getId()) ?>
+  <?php echo link_to (__('view %1%', array('%1%' => 
sfConfig::get('app_ui_label_'.strtolower($objectType)))), 
strtolower($objectType).'/show?id='.$import->getRootObject()->getId()) ?>
 </div>
 
 <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