Acq+Vandelay : consistent post-upload link names
authorBill Erickson <berick@esilibrary.com>
Wed, 29 Feb 2012 23:06:21 +0000 (18:06 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 13 Mar 2012 19:28:58 +0000 (15:28 -0400)
For consistency with POs and selection lists, label the newly created
Vandelay queue link as "View Upload Queue" instead of showing the queue
name.  While we're in there, let's i18n-ize those 3 labels.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/acq/picklist/upload.tt2
Open-ILS/web/js/ui/default/acq/picklist/upload.js

index fc03106..da9d8dc 100644 (file)
@@ -57,9 +57,9 @@
         [% PROCESS vlagent_results %]
         <div id='acq-pl-upload-complete' class='hidden'>
             <div>Upload Complete!</div><br/>
-            <div><a id='acq-pl-upload-complete-po'>View Purchase Order</a></div><br/>
-            <div><a id='acq-pl-upload-complete-pl'>View Selection List</a></div><br/>
-            <div><a id='acq-pl-upload-complete-q'></a></div><br/>
+            <div><a id='acq-pl-upload-complete-po'>[% l('View Purchase Order') %]</a></div><br/>
+            <div><a id='acq-pl-upload-complete-pl'>[% l('View Selection List') %]</a></div><br/>
+            <div><a id='acq-pl-upload-complete-q'>[% l('View Upload Queue') %]</a></div><br/>
         </div>
     </div>
 </form>
index 27f448f..1a6653a 100644 (file)
@@ -152,7 +152,7 @@ function acqHandlePostUpload(key, plId) {
                         }
 
                         if (res.queue_url) {
-                            activateLink('acq-pl-upload-complete-q', res.queue_url, resp.queue.name());
+                            activateLink('acq-pl-upload-complete-q', res.queue_url);
                         }
                     }
                 );