Author: jablko
Date: Fri Aug 28 17:18:54 2009
New Revision: 3110

Log:
Take advantage of render_title()

Modified:
   trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php

Modified: 
trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Fri Aug 28 17:12:06 2009        (r3109)
+++ trunk/apps/qubit/modules/informationobject/templates/showModsSuccess.php    
Fri Aug 28 17:18:54 2009        (r3110)
@@ -136,7 +136,7 @@
   <td><?php if ($repository->getIdentifier()):?>
     <?php echo $repository->getIdentifier() ?> -
   <?php endif; ?>
-  <?php echo link_to($repository->__toString(), array('module' => 
'repository', 'action' => 'show', 'id' => $repository->id)) ?>
+  <?php echo link_to(render_title($repository), array('module' => 
'repository', 'action' => 'show', 'id' => $repository->id)) ?>
   <?php if ($contactInformation = $repository->getPrimaryContact()): ?>
      <br /><?php echo $contactInformation->getCity() ?><?php if 
($contactInformation->getCity()): ?>, <?php endif; ?>
     <?php echo $contactInformation->getRegion() ?><?php if 
($contactInformation->getRegion() && $contactInformation->getCountryCode()): 
?>, <?php endif; ?>

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