Add print button in admin update templates front
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 2 Dec 2015 21:05:48 +0000 (16:05 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 2 Dec 2015 21:05:48 +0000 (16:05 -0500)
Update thank you text
Remove anchor on the jod detail page.

assets/click-here-to-print.jpg [new file with mode: 0644]
css/admin-print-application.css
views/admin/view-application.php
views/front/jobDetail.php
views/front/thankYou.php

diff --git a/assets/click-here-to-print.jpg b/assets/click-here-to-print.jpg
new file mode 100644 (file)
index 0000000..05ea0fa
Binary files /dev/null and b/assets/click-here-to-print.jpg differ
index ed59df6..79091b3 100644 (file)
@@ -22,7 +22,7 @@
     width: 91.66667%; }
 .large-12 {
     width: 100%; }
-#adminmenu, #adminmenuback, #adminmenuwrap, #wpadminbar, #wpfooter, .updated {
+#adminmenu, #adminmenuback, #adminmenuwrap, #wpadminbar, #wpfooter, .updated, #print-this-page {
     display: none !important;
 }
 #appForm {
index f9b9c2b..6c902a9 100644 (file)
@@ -1,5 +1,6 @@
 <link rel="stylesheet" href="../wp-content/plugins/staffords-employment/css/admin-view-application.css" type="text/css"/>
 <link rel="stylesheet" href="../wp-content/plugins/staffords-employment/css/admin-print-application.css" type="text/css" media="print" />
+<a href="javascript:window.print();" id="print-this-page"><img src="../wp-content/plugins/staffords-employment/assets/click-here-to-print.jpg"></a>
 <div id="appForm">
     <?php include $viewPath . 'form_1.php';?>
 </div>
index 87ff3a2..066c72d 100644 (file)
@@ -1,6 +1,10 @@
-<a href="<?php echo get_permalink();?>">Back To Search</a>
 <div class="small-12 columns">
-    <h2><a href="<?php echo $job->href; ?>"><?php echo $job->post_title; ?></a></h2>
+    <a href="<?php echo get_permalink();?>">Back To Employment Search</a>
+    <br>
+    <br>
+</div>
+<div class="small-12 columns">
+    <h2><?php echo $job->post_title; ?></h2>
     <?php if ($job->staffords_jobs_property) : ?>
     <div>
     <?php echo (count( $job->staffords_jobs_property ) > 1 ) ? 'Properties:' : 'Property:' ?>
index 702afed..25d2f63 100644 (file)
@@ -1,3 +1,3 @@
 <div class="alert-box success">
-    Thank You For Completing This Application Form And For Your Interest In Staffords.
+    Thank you for completing this application form and for your interest in Staffords.
 </div>