Author: david
Date: Fri Sep 23 17:51:02 2011
New Revision: 9813

Log:
Add repository name for context on digital object upload forms

Modified:
   trunk/apps/qubit/modules/repository/templates/_uploadLimit.php

Modified: trunk/apps/qubit/modules/repository/templates/_uploadLimit.php
==============================================================================
--- trunk/apps/qubit/modules/repository/templates/_uploadLimit.php      Fri Sep 
23 17:37:15 2011        (r9812)
+++ trunk/apps/qubit/modules/repository/templates/_uploadLimit.php      Fri Sep 
23 17:51:02 2011        (r9813)
@@ -1,10 +1,14 @@
 <!-- upload limit display with usage bar -->
 <div id="uploadLimitDisplay">
 
-  <h3><?php echo __('%1% upload limit', array('%1%' => 
sfConfig::get('app_ui_label_digitalobject'))) ?></h3>
+  <h3><?php echo __('Upload limit') ?></h3>
 
   <div>
 
+<?php if ('sfIsdiahPlugin' != $sf_context->getModuleName()): ?>
+  <?php echo link_to($resource->__toString(), array($resource, 'module' => 
'repository')) ?>
+<?php endif; ?>
+
 <?php if ('limited' == $quotaType): ?>
     <div class="usageBar">
       <div style="height: 10px; width: <?php echo $usageBarPixels ?>px; 
background-color: <?php echo $usageBarColor ?>;"></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.com/group/qubit-commits?hl=en.

Reply via email to