Author: david
Date: Wed Oct 12 15:34:26 2011
New Revision: 10039

Log:
Add report.png icon and add to information object header

Added:
   trunk/images/report.png   (contents, props changed)
Modified:
   trunk/css/classic.css
   trunk/css/print.css
   trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php

Modified: trunk/css/classic.css
==============================================================================
--- trunk/css/classic.css       Wed Oct 12 15:29:22 2011        (r10038)
+++ trunk/css/classic.css       Wed Oct 12 15:34:26 2011        (r10039)
@@ -377,6 +377,11 @@
   text-align: left;
 }
 
+h1.label
+{
+  position: relative;
+}
+
 .itemsPerPage,
 .pager
 {
@@ -1006,15 +1011,15 @@
   padding: 5px;
 }
 
-h1.printable
+#action-icons
 {
-  position: relative;
-  padding-right: 25px;
+  position: absolute;
+  display: inline;
+  right: 2px;
 }
 
-#print-button
+#action-icons img
 {
-  position: absolute;
-  top: 2px;
-  right: 2px;
+  position: relative;
+  margin-top: 2px;
 }

Modified: trunk/css/print.css
==============================================================================
--- trunk/css/print.css Wed Oct 12 15:29:22 2011        (r10038)
+++ trunk/css/print.css Wed Oct 12 15:34:26 2011        (r10039)
@@ -13,7 +13,7 @@
 #preview-message,
 #sfWebDebug,
 #page-wrapper #page #main-wrapper #main #sidebar-first,
-#print-button
+#action-icons
 {
   /* Hide */
 

Added: trunk/images/report.png
==============================================================================
Binary file. No diff available.

Modified: 
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Wed Oct 12 15:29:22 2011        (r10038)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php  
Wed Oct 12 15:34:26 2011        (r10039)
@@ -2,9 +2,13 @@
 
 <h1><?php echo __('View archival description') ?></h1>
 
-<h1 class="label printable">
+<h1 class="label">
   <?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'))) ?>
+
+  <div id="action-icons">
+  <?php echo link_to(image_tag('printer-icon.png', array('alt' => 
__('Print'))), array($resource, 'module' => 'informationobject', 'media' => 
'print'), array('id' => 'print-button', 'title' => __('Print'))) ?>
+  <?php echo link_to(image_tag('report.png', array('alt' => __('Reports'))), 
array($resource, 'module' => 'informationobject', 'action' => 'reports'), 
array('id' => 'Reports', 'title' => __('Reports'))) ?>
+  </div>
 </h1>
 
 <?php if (QubitInformationObject::ROOT_ID != $resource->parentId): ?>

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