Author: david
Date: Tue Sep 27 12:57:40 2011
New Revision: 9852

Log:
Move 'print-date' section to layout.php so it appears on every page.  Hide 
print date for screen media

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

Modified: trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php        
Tue Sep 27 12:15:40 2011        (r9851)
+++ trunk/apps/qubit/modules/physicalobject/templates/boxListSuccess.php        
Tue Sep 27 12:57:40 2011        (r9852)
@@ -3,10 +3,6 @@
   <?php echo link_to('Close', array($resource, 'module' => 'physicalobject')) 
?>
 </div>
 
-<div id="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/apps/qubit/templates/layout.php
==============================================================================
--- trunk/apps/qubit/templates/layout.php       Tue Sep 27 12:15:40 2011        
(r9851)
+++ trunk/apps/qubit/templates/layout.php       Tue Sep 27 12:57:40 2011        
(r9852)
@@ -31,6 +31,10 @@
           <div class="clearfix" id="main">
 
             <div class="column" id="content">
+              <div id="print-date">
+                <?php echo __('Printed: %d%', array('%d%' => date('Y-m-d'))) ?>
+              </div>
+
               <div class="section">
                 <?php echo $sf_content ?>
               </div> <!-- /.section -->

Modified: trunk/css/main.css
==============================================================================
--- trunk/css/main.css  Tue Sep 27 12:15:40 2011        (r9851)
+++ trunk/css/main.css  Tue Sep 27 12:57:40 2011        (r9852)
@@ -254,3 +254,9 @@
   margin-right: 10px;
   margin-bottom: 10px;
 }
+
+/* Hide print-date div */
+#print-date
+{
+  display: none;
+}

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