Author: sevein
Date: Fri Oct 29 11:11:29 2010
New Revision: 8652

Log:
Simplify title.

Modified:
   trunk/apps/qubit/modules/user/templates/editSuccess.php

Modified: trunk/apps/qubit/modules/user/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/editSuccess.php     Fri Oct 29 
10:59:50 2010        (r8651)
+++ trunk/apps/qubit/modules/user/templates/editSuccess.php     Fri Oct 29 
11:11:29 2010        (r8652)
@@ -8,9 +8,7 @@
   <?php endif; ?>
 </h1>
 
-<?php if (isset($sf_request->getAttribute('sf_route')->resource)): ?>
-  <h1 class="label"><?php echo __('%1% profile', array('%1%' => 
$resource->username)) ?></h1>
-<?php endif; ?>
+<h1 class="label"><?php echo render_title($resource) ?></h1>
 
 <?php echo $form->renderFormTag(url_for(array($resource, 'module' => 'user', 
'action' => 'edit')), array('id' => 'editForm')) ?>
 

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