Adds documentation links to acqadmin menus
authorTiffany Little <tlittle@georgialibraries.org>
Thu, 10 Jan 2019 17:13:13 +0000 (12:13 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 13 Sep 2019 20:51:42 +0000 (16:51 -0400)
Adds links to appropriate PINES wiki pages for remaining Dojo Acquisition administration menus. Additionally also marks required fields on Load MARC Order Records page.

Open-ILS/src/templates/acq/common/vlagent.tt2
Open-ILS/src/templates/acq/fund/list.tt2
Open-ILS/src/templates/acq/funding_source/list.tt2
Open-ILS/src/templates/acq/picklist/upload.tt2
Open-ILS/src/templates/acq/search/unified.tt2
Open-ILS/src/templates/conify/global/acq/distribution_formula.tt2
Open-ILS/src/templates/conify/global/acq/provider.tt2

index 98792ca..8405c9d 100644 (file)
@@ -1,14 +1,18 @@
 <style type="text/css">
     @import "[% ctx.media_prefix %]/js/dojo/dojox/form/resources/CheckedMultiSelect.css";
 </style>
+
 [% BLOCK vlagent_form %]
     <tr>
         <td>[% l('Upload to Queue') %]</td>
         <td><div id='acq_vl:existing_queue'></div></td>
         <td>
             <span>[% l('Or create a new queue') %]</span>
-            <input dojoType='dijit.form.TextBox' id='acq_vl:queue_name' size='32'></input>
+            <input dojoType='dijit.form.ValidationTextBox'
+       id='acq_vl:queue_name' 
+       size='32' </input>
         </td>
+ <td><i><font color="red">[% l('(required)') %]</i></font></td>
     </tr>
     <tr>
         <td>[% l('Record Match Set') %]</td>
@@ -61,6 +65,7 @@
         <td><input dojoType='dijit.form.CheckBox' id='acq_vl:create_assets'></input></td>
     </tr>
     [% END %]
+
 [% END %]
 
 [% BLOCK vlagent_results %]
                 <td>[% l('Real Copies Processed') %]</td>
                 <td><span id='acq_vl:copies-processed'>0</span></td>
             </tr>
+
+<tr></tr>
+<tr>
+<td><span style="font-weight:bold; color:red; font-size:130%">[% l('Please leave this tab open until you receive an email notification that your upload is complete.') %]</span></td>
+</tr>
+
         </tbody>
     </table>
 [% END %]
index 17e6ee3..771c0c9 100644 (file)
@@ -1,6 +1,7 @@
 [% WRAPPER 'base.tt2' %]
 [% ctx.page_title = l('Funds') %]
 
+
 <!-- load the page-specific JS -->
 <script type="text/javascript">
     function getFundName(rowIndex, item) {
@@ -11,6 +12,7 @@
         };
     }
 
+
     function formatName(value) {
         if (!value) return ""; // XXX
 
 <table style='width:100%;'>
     <tr>
         <!-- TODO CSS -->
-        <td style='text-align:left;font-size:130%;font-weight: bold;'>[% l('Funds') %]</td>
+        <td style='text-align:left;font-size:130%;font-weight: bold;'>[% l('Funds') %]</td></tr>
+        <br></br>
+        <tr><td><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:funds" target="blank">PINES Documentation</a></b></td></tr>
         <td style='text-align:right;width:90%;'>
 
+
             <button dojoType='dijit.form.Button' onClick='createNewFund()'>[% l('New Fund') %]</button>
             <button dojoType='dijit.form.Button' onClick='lfGrid.deleteSelected()'>[% l('Delete Selected') %]</button>
 
index cf89604..1fec78f 100644 (file)
@@ -22,6 +22,8 @@
 
     <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
         <div>[% l('Funding Sources') %]</div>
+<br></br>
+<div style="text-align:left"><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:fundingsources" target="_blank">PINES Documentation</a></b></div>
         <div>
             <button dojoType='dijit.form.Button' onClick='fsGrid.showCreateDialog()'>[% l('New Funding Source') %]</button>
             <button dojoType='dijit.form.Button' onClick='fsGrid.deleteSelected()'>[% l('Delete Selected') %]</button>
index 8d5c0a8..a4fb26c 100644 (file)
@@ -2,10 +2,13 @@
 [% PROCESS 'acq/common/vlagent.tt2' %]
 
 <h1>[% l('Upload') %]</h1><br/>
+<tr></tr>
+<tr><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:addrecords#load_marc_order_records" target="_blank">PINES Documentation</a></b></tr>
 <form id="acq-pl-upload-form" enctype="multipart/form-data">
     <input type='hidden' name='ses' id='acq-pl-upload-ses'/>
     <table class='oils-generic-table'>
         <tbody>
+</br>
             <tr>
                 <td>[% l('Create Purchase Order') %]</td>
                 <td>
             <tr>
                 <td>[% l('Provider') %]</td>
                 <td><div id='acq-pl-upload-provider'></div></td>
+ <td><i><font color="red">[% l('(required)') %]</i></font></td>
             </tr>
             <tr id='acq-pl-upload-agency-row'>
                 <td>[% l('Context Org Unit') %]</td>
                 <td><div id='acq-pl-upload-agency'></div></td>
+ <td><i><font color="red">[% l('(required)') %]</i></font></td>
             </tr>
             <tr id='acq-pl-upload-picklist'>
                 <td>[% l('Add to Selection List') %]</td>
@@ -34,6 +39,7 @@
                         labelAttr="year"
                         searchAttr="year">
                     </select>
+ <td><i><font color="red">[% l('(required)') %]</i></font></td>
                 </td>
             </tr>
 
index 55837ad..820986b 100644 (file)
@@ -9,6 +9,8 @@
     <div id='oils-scroll-to-top'></div>
     <div id="acq-unified-heading">
         <span id="acq-unified-heading-actual">[% l('Acquisitions Search') %]</span>
+<br></br>
+<span><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:searching" target="_blank">PINES Documentation</a></b></span>
         <span id="acq-unified-heading-controls">
             <button id="acq-unified-hide-form" onclick="hideForm();">
                 [% l('Hide Search Form') %]
index 68f536e..5f5fdca 100644 (file)
@@ -5,6 +5,8 @@
     <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
             <div>[% l('Distribution Formulas') %]</div>
+<br></br>
+<div style="text-align:left"><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:adminsettings#distribution_formulas" target="_blank">PINES Documentation</a></b></div>
             <div>
                 <button dojoType='dijit.form.Button' onClick='fListGrid.showCreateDialog()'>[% l('New Formula') %]</button>
                 <button dojoType='dijit.form.Button' onClick='fListGrid.deleteSelected()'>[% l('Delete Selected') %]</button>
index 1eeafab..4e973d5 100644 (file)
@@ -5,6 +5,8 @@
     <div id='provider-list-div'>
         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
             <div>[% l('Provider') %]</div>
+<br></br>
+<div style="text-align:left"><b><a href="https://pines.georgialibraries.org/dokuwiki/doku.php?id=acq:providers" target="_blank">PINES Documentation</a></b></div>
             <div>
                 <button dojoType='dijit.form.Button' onClick='pListGrid.showCreatePane()'>[% l('New Provider') %]</button>
                 <button dojoType='dijit.form.Button' onClick='pListGrid.deleteSelected()'>[% l('Delete Selected') %]</button>