Author: david
Date: Mon Sep 26 11:32:12 2011
New Revision: 9822

Log:
Add date printed

Modified:
   trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
   trunk/css/print.css

Modified: trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php        
Mon Sep 26 10:52:55 2011        (r9821)
+++ trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php        
Mon Sep 26 11:32:12 2011        (r9822)
@@ -2,6 +2,10 @@
   <?php echo link_to('Back', array($resource, 'module' => 'physicalobject')) ?>
 </div>
 
+<div class="print-date">
+  <?php echo __('Printed: %d%', array('%d%' => date('Y-m-d'))) ?>
+</div>
+
 <h1><?php echo sfConfig::get('app_ui_label_physicalobject') ?></h1>
 
 <h1 class="label">

Modified: trunk/css/print.css
==============================================================================
--- trunk/css/print.css Mon Sep 26 10:52:55 2011        (r9821)
+++ trunk/css/print.css Mon Sep 26 11:32:12 2011        (r9822)
@@ -19,11 +19,6 @@
   text-decoration: underline;
 }
 
-.exit-preview
-{
-  display: none;
-}
-
 body
 {
   margin: 0;
@@ -63,3 +58,14 @@
 {
   page-break-after: avoid;
 }
+
+div.exit-preview
+{
+  display: none;
+}
+
+div.print-date
+{
+  padding: 2px 4px;
+  float: right;
+}

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