Author: peter
Date: Sun Sep 27 14:06:59 2009
New Revision: 3555
Log:
cleanup appearance of import success template
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 27
13:44:01 2009 (r3554)
+++ trunk/apps/qubit/modules/object/templates/importSuccess.php Sun Sep 27
14:06:59 2009 (r3555)
@@ -1,17 +1,20 @@
-<h1>Objects Successfully Imported</h1>
+<h1 style="text-align: left;"><?php echo __('Import completed') ?></h1>
<?php if ($import->hasErrors()): ?>
<br/>
<h3>Warnings were encountered:</h3>
<?php foreach ($import->getErrors() as $error): ?>
<p class="form_error"><?php echo $error ?></p>
- <?php endforeach; ?>
+ <?php endforeach; ?><br />
<?php endif; ?>
+
+<div style="clear:both; margin-bottom: 20px;">
+ <span class="note"><?php echo __('elapsed time: %1% seconds.', array('%1%'
=> $timer->elapsed())) ?></span>
+</div>
+
<div class="menu-action">
<?php echo link_to (__('view %1%', array('%1%' =>
sfConfig::get('app_ui_label_'.strtolower($objectType)))),
strtolower($objectType).'/show?id='.$import->getRootObject()->getId()) ?>
</div>
-<div>
- <span class="note"><?php echo __('elapsed time: %1% seconds.', array('%1%'
=> $timer->elapsed())) ?></span>
-</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
-~----------~----~----~----~------~----~------~--~---