Author: david
Date: Fri Oct  7 11:26:11 2011
New Revision: 9963

Log:
Moved #print-button sytle to css/classic.css

Modified:
   trunk/plugins/sfCaribouPlugin/css/style.css
   trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
   trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
   trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php

Modified: trunk/plugins/sfCaribouPlugin/css/style.css
==============================================================================
--- trunk/plugins/sfCaribouPlugin/css/style.css Fri Oct  7 10:23:15 2011        
(r9962)
+++ trunk/plugins/sfCaribouPlugin/css/style.css Fri Oct  7 11:26:11 2011        
(r9963)
@@ -336,9 +336,3 @@
 {
   margin: 0;
 }
-
-#print-button
-{
-  margin: 2px 3px;
-  float: right;
-}

Modified: trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php      
Fri Oct  7 10:23:15 2011        (r9962)
+++ trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php      
Fri Oct  7 11:26:11 2011        (r9963)
@@ -1,6 +1,9 @@
 <h1><?php echo __('View resource metadata') ?></h1>
 
-<?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h1 
class="label">'.render_title($dc).'</h1>', array($resource, 'module' => 
'informationobject', 'action' => 'edit'), array('title' => __('Edit resource 
metadata'))) ?>
+<h1 class="label printable">
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), 
render_title($dc), array($resource, 'module' => 'informationobject', 'action' 
=> 'edit'), array('title' => __('Edit resource metadata'))) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print 
report'))), array($resource, 'module' => 'informationObject', 'action' => 
'reports'), array('id' => 'print-button', 'title' => __('Print report'))) ?>
+</h1>
 
 <?php if (isset($errorSchema)): ?>
   <div class="messages error">

Modified: 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Fri Oct  7 10:23:15 2011        (r9962)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Fri Oct  7 11:26:11 2011        (r9963)
@@ -1,6 +1,9 @@
 <h1><?php echo __('View archival description') ?></h1>
 
-<?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h1 
class="label">'.render_title($isad).'</h1>', array($resource, 'module' => 
'informationobject', 'action' => 'edit'), array('title' => __('Edit archival 
description'))) ?>
+<h1 class="label printable">
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), 
render_title($isad), array($resource, 'module' => 'informationobject', 'action' 
=> 'edit'), array('title' => __('Edit archival description'))) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print 
report'))), array($resource, 'module' => 'informationObject', 'action' => 
'reports'), array('id' => 'print-button', 'title' => __('Print report'))) ?>
+</h1>
 
 <?php if (QubitInformationObject::ROOT_ID != $resource->parentId): ?>
 <h1 class="part-of"><?php echo __('Part of %1%', array('%1%' => 
$resource->getCollectionRoot()->__toString())) ?></h1>

Modified: 
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php  
Fri Oct  7 10:23:15 2011        (r9962)
+++ trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php  
Fri Oct  7 11:26:11 2011        (r9963)
@@ -1,6 +1,9 @@
 <h1><?php echo __('View resource metadata') ?></h1>
 
-<?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h1 
class="label">'.render_title($mods).'</h1>', array($resource, 'module' => 
'informationobject', 'action' => 'edit'), array('title' => __('Edit resource 
metadata'))) ?>
+<h1 class="label printable">
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), 
render_title($mods), array($resource, 'module' => 'informationobject', 'action' 
=> 'edit'), array('title' => __('Edit resource metadata'))) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print 
report'))), array($resource, 'module' => 'informationObject', 'action' => 
'reports'), array('id' => 'print-button', 'title' => __('Print report'))) ?>
+</h1>
 
 <?php if (0 < count($resource->digitalObjects)): ?>
   <?php echo get_component('digitalobject', 'show', array('link' => 
$digitalObjectLink, 'resource' => $resource->digitalObjects[0], 'usageType' => 
QubitTerm::REFERENCE_ID)) ?>

Modified: 
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Fri Oct  7 10:23:15 2011        (r9962)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php    
Fri Oct  7 11:26:11 2011        (r9963)
@@ -1,6 +1,9 @@
 <h1><?php echo __('View archival description') ?></h1>
 
-<?php echo link_to_if(QubitAcl::check($resource, 'update'), '<h1 
class="label">'.render_title($rad).'</h1>', array($resource, 'module' => 
'informationobject', 'action' => 'edit'), array('title' => __('Edit archival 
description'))) ?>
+<h1 class="label printable">
+  <?php echo link_to_if(QubitAcl::check($resource, 'update'), 
render_title($rad), array($resource, 'module' => 'informationobject', 'action' 
=> 'edit'), array('title' => __('Edit archival description'))) ?>
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => __('Print 
report'))), array($resource, 'module' => 'informationObject', 'action' => 
'reports'), array('id' => 'print-button', 'title' => __('Print report'))) ?>
+</h1>
 
 <?php if (QubitInformationObject::ROOT_ID != $resource->parentId): ?>
 <h1 class="part-of"><?php echo __('Part of %1%', array('%1%' => 
$resource->getCollectionRoot()->__toString())) ?></h1>

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