Author: sevein
Date: Fri Aug 19 11:43:57 2011
New Revision: 9547

Log:
Remove link to contactinformation/editAction, the dialog should be enough now

Modified:
   trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php
   trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php

Modified: trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php    Fri Aug 
19 11:37:00 2011        (r9546)
+++ trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php    Fri Aug 
19 11:43:57 2011        (r9547)
@@ -20,16 +20,13 @@
 
   <?php foreach ($resource->contactInformations as $contactItem): ?>
     <div class="field">
-      <h3>Contact information</h3>
+      <h3><?php echo __('Contact information') ?></h3>
       <div class="vcard">
-        <?php if (SecurityPriviliges::editCredentials($sf_user, 
'repository')): ?>
-          <a href="<?php echo url_for(array($contactItem, 'module' => 'actor', 
'action' => 'editContactInformation')) ?>" title="<?php echo __('Edit contact 
information') ?>">
-        <?php endif; ?>
+
         <h3><?php echo $contactItem->getContactType(array('cultureFallback' => 
true)) ?><?php if ($contactItem->primaryContact): ?> (<?php echo __('Primary 
contact') ?>)<?php endif; ?></h3>
-        <?php if (SecurityPriviliges::editCredentials($sf_user, 
'repository')): ?>
-          </a>
-        <?php endif; ?>
+
         <?php echo get_partial('actor/contactInformation', 
array('contactInformation' => $contactItem)) ?>
+        
       </div>
     </div>
   <?php endforeach; ?>

Modified: 
trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php    
Fri Aug 19 11:37:00 2011        (r9546)
+++ trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php    
Fri Aug 19 11:43:57 2011        (r9547)
@@ -20,16 +20,13 @@
 
   <?php foreach ($resource->contactInformations as $contactItem): ?>
     <div class="field">
-      <h3>Contact information</h3>
+      <h3><?php echo __('Contact information') ?></h3>
       <div class="vcard">
-        <?php if (SecurityPriviliges::editCredentials($sf_user, 
'repository')): ?>
-          <a href="<?php echo url_for(array($contactItem, 'module' => 'actor', 
'action' => 'editContactInformation')) ?>" title="<?php echo __('Edit contact 
information') ?>">
-        <?php endif; ?>
+
         <h3><?php echo $contactItem->getContactType(array('cultureFallback' => 
true)) ?><?php if ($contactItem->primaryContact): ?> (<?php echo __('Primary 
contact') ?>)<?php endif; ?></h3>
-        <?php if (SecurityPriviliges::editCredentials($sf_user, 
'repository')): ?>
-          </a>
-        <?php endif; ?>
+
         <?php echo get_partial('actor/contactInformation', 
array('contactInformation' => $contactItem)) ?>
+        
       </div>
     </div>
   <?php endforeach; ?>

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