LP#1787479 Final fixes for print label customizations. Corrects duplication of pcrud...
authorAdam Bowling <abowling@emeralddata.net>
Wed, 13 Feb 2019 04:15:08 +0000 (23:15 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 21 Feb 2019 17:48:48 +0000 (12:48 -0500)
in previous submission and adds CSS to item label template.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/templates/staff/cat/printlabels/t_view.tt2
Open-ILS/src/templates/staff/share/print_templates/t_item_label.tt2
Open-ILS/web/js/ui/default/staff/cat/printlabels/app.js

index 87814c1..47ccde6 100644 (file)
@@ -2,12 +2,8 @@
 <style>
   /* TODO: move me */
 
-  body {
-
-  }
-
   table.page-break {
-  page-break-before: always;
+      page-break-before: always;
   }
 
 </style>
index d8a8773..46730ac 100644 (file)
@@ -95,6 +95,10 @@ HTML itself.
     /* This pulls from the "Item Print Label - Inline CSS" setting */
     {{settings['webstaff.cat.label.inline_css']||''}}
 
+    .print+.print {
+        page-break-before: always;
+    }
+
 </style>
 
 <!-- Here we are implementing our combined label as 2-column HTML <table>, with
index e24520b..2553689 100644 (file)
@@ -33,8 +33,6 @@ function (egCore) {
     service.flesh = {
         flesh: 3,
         flesh_fields: {
-            acp: ['call_number', 'location', 'status', 'location', 'floating', 'circ_modifier', 'age_protect'],
-            acn: ['record', 'prefix', 'suffix'],
             acp: ['call_number', 'location', 'status', 'location', 'floating', 'circ_modifier', 'age_protect', 'circ_lib'],
             acn: ['record', 'prefix', 'suffix', 'owning_lib'],
             bre: ['simple_record', 'creator', 'editor']