Author: david
Date: Fri Oct 7 14:24:07 2011
New Revision: 9973
Log:
Add print preview bar to all information object templates
Added:
trunk/apps/qubit/modules/informationobject/templates/_printPreviewBar.php
Modified:
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
Added: trunk/apps/qubit/modules/informationobject/templates/_printPreviewBar.php
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/apps/qubit/modules/informationobject/templates/_printPreviewBar.php
Fri Oct 7 14:24:07 2011 (r9973)
@@ -0,0 +1,6 @@
+<?php if ('print' == $sf_request->getParameter('media')): ?>
+<div id="preview-message">
+ <?php echo __('Print preview') ?>
+ <?php echo link_to('Close', array($resource, 'module' =>
'informationobject')) ?>
+</div>
+<?php endif; ?>
Modified: trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
Fri Oct 7 14:09:02 2011 (r9972)
+++ trunk/plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
Fri Oct 7 14:24:07 2011 (r9973)
@@ -1,3 +1,5 @@
+<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+
<h1><?php echo __('View resource metadata') ?></h1>
<h1 class="label printable">
Modified:
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
Fri Oct 7 14:09:02 2011 (r9972)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
Fri Oct 7 14:24:07 2011 (r9973)
@@ -1,3 +1,5 @@
+<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+
<h1><?php echo __('View archival description') ?></h1>
<h1 class="label printable">
Modified:
trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
Fri Oct 7 14:09:02 2011 (r9972)
+++ trunk/plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
Fri Oct 7 14:24:07 2011 (r9973)
@@ -1,3 +1,5 @@
+<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+
<h1><?php echo __('View resource metadata') ?></h1>
<h1 class="label printable">
Modified:
trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Fri Oct 7 14:09:02 2011 (r9972)
+++ trunk/plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Fri Oct 7 14:24:07 2011 (r9973)
@@ -1,3 +1,5 @@
+<?php echo get_partial('informationobject/printPreviewBar', array('resource'
=> $resource)) ?>
+
<h1><?php echo __('View archival description') ?></h1>
<h1 class="label printable">
--
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.