LP 1779467: Add Mark Item(s) Discard/Weed to grid menus.
authorJason Stephenson <jason@sigio.com>
Sat, 7 Jul 2018 12:40:05 +0000 (08:40 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 26 Oct 2018 23:04:55 +0000 (19:04 -0400)
Open-ILS/src/templates/staff/cat/catalog/t_holdings.tt2
Open-ILS/src/templates/staff/cat/catalog/t_holds.tt2
Open-ILS/src/templates/staff/cat/item/index.tt2
Open-ILS/src/templates/staff/cat/item/t_list.tt2
Open-ILS/src/templates/staff/circ/checkin/t_checkin_table.tt2
Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2
Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2
Open-ILS/src/templates/staff/circ/patron/t_holds_list.tt2
Open-ILS/src/templates/staff/circ/renew/t_renew.tt2

index 1912617..6c99c7b 100644 (file)
@@ -62,6 +62,8 @@
 
     <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
       label="[% l('Item as Damaged') %]"></eg-grid-action>
+    <eg-grid-action handler="selectedHoldingsDiscard" group="[% l('Mark') %]"
+      label="[% l('Item as Discard/Weed) %]"></eg-grid-action>
     <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
       label="[% l('Item as Missing') %]"></eg-grid-action>
     <eg-grid-action handler="markFromSelectedAsHoldingsTarget" group="[% l('Mark') %]"
index 263e2ae..cf84299 100644 (file)
@@ -49,6 +49,8 @@
       label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
     <eg-grid-action handler="grid_actions.mark_damaged_wide" group="[% l('Item') %]"
       label="[% l('Mark Item Damaged') %]"></eg-grid-action>
+    <eg-grid-action handler="grid_actions.mark_discard_wide" group="[% l('Item') %]"
+      label="[% l('Mark Item Discard/Weed) %]"></eg-grid-action>
     <eg-grid-action handler="grid_actions.mark_missing_wide" group="[% l('Item') %]"
       label="[% l('Mark Item Missing') %]"></eg-grid-action>
     <eg-grid-action handler="grid_actions.retarget_wide" group="[% l('Hold') %]"
index 0a78281..3ed897a 100644 (file)
@@ -92,6 +92,7 @@
 
         <p><b>[% l('Mark') %]</b></p>    
         <li><a href ng-click="selectedHoldingsDamaged()">[% l('Item as Damaged') %]</a></li>
+        <li><a href ng-click="selectedHoldingsDiscard()">[% l('Item as Discard/Weed) %]</a></li>
         <li><a href ng-click="selectedHoldingsMissing()">[% l('Item as Missing') %]</a></li>
     
         <p><b>[% l('Add') %]</b></p>    
index 7f67e46..0618bf2 100644 (file)
@@ -43,6 +43,8 @@
     
   <eg-grid-action handler="selectedHoldingsDamaged" group="[% l('Mark') %]"
     label="[% l('Item as Damaged') %]"></eg-grid-action>
+  <eg-grid-action handler="selectedHoldingsDiscard" group="[% l('Mark') %]"
+    label="[% l('Item as Discard/Weed) %]"></eg-grid-action>
   <eg-grid-action handler="selectedHoldingsMissing" group="[% l('Mark') %]"
     label="[% l('Item as Missing') %]"></eg-grid-action>
     
index eff1448..85fd44e 100644 (file)
     label="[% l('Mark Items Damaged') %]">
   </eg-grid-action>
   <eg-grid-action
+    handler="showMarkDiscard"
+    label="[% l('Mark Items Discard/Weed') %]">
+  </eg-grid-action>
+  <eg-grid-action
     handler="show_mark_missing_pieces"
     label="[% l('Mark Missing Pieces') %]">
   </eg-grid-action>
index 4bd3762..e038fa8 100644 (file)
@@ -45,6 +45,8 @@
     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_damaged"
     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
+  <eg-grid-action handler="grid_actions.mark_discard"
+    label="[% l('Mark Item Discard/Weed) %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_missing"
     label="[% l('Mark Item Missing') %]"></eg-grid-action>
   <eg-grid-action divider="true"></eg-grid-action>
index 083edec..4b2d4e4 100644 (file)
@@ -48,6 +48,8 @@
     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_damaged_wide"
     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
+  <eg-grid-action handler="grid_actions.mark_discard_wide"
+    label="[% l('Mark Item Discard/Weed) %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_missing_wide"
     label="[% l('Mark Item Missing') %]"></eg-grid-action>
   <eg-grid-action divider="true"></eg-grid-action>
index fd544aa..5d1d998 100644 (file)
@@ -35,6 +35,8 @@
     label="[% l('Transfer To Marked Title') %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_damaged"
     label="[% l('Mark Item Damaged') %]"></eg-grid-action>
+  <eg-grid-action handler="grid_actions.mark_discard"
+    label="[% l('Mark Item Discard/Weed) %]"></eg-grid-action>
   <eg-grid-action handler="grid_actions.mark_missing"
     label="[% l('Mark Item Missing') %]"></eg-grid-action>
   <eg-grid-action divider="true"></eg-grid-action>
index 886e93f..2095709 100644 (file)
     handler="showMarkDamaged"
     label="[% l('Mark Items Damaged') %]">
   </eg-grid-action>
+  <eg-grid-action
+    handler="showMarkDiscard"
+    label="[% l('Mark Items Discard/Weed') %]">
+  </eg-grid-action>
   <eg-grid-action divider="true"></eg-grid-action>
   <eg-grid-action 
     handler="abortTransit"