LP1742523: Allow two strings in the mark damaged popup to be translated
authorJane Sandberg <sandbej@linnbenton.edu>
Sat, 19 May 2018 02:41:12 +0000 (19:41 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 5 Aug 2019 14:39:59 +0000 (10:39 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/share/t_mark_damaged.tt2

index 7506217..467fa13 100644 (file)
 <div class="modal-footer">
   <div class="btn-group pull-left" ng-if="circ && billArgs.charge != null">
     <label class="btn btn-primary" ng-model="mode" btn-radio="'charge'"
 <div class="modal-footer">
   <div class="btn-group pull-left" ng-if="circ && billArgs.charge != null">
     <label class="btn btn-primary" ng-model="mode" btn-radio="'charge'"
-      ng-class="{active: mode == 'charge'}" ng-click="btnChargeFees()">Charge Fees</label>
+      ng-class="{active: mode == 'charge'}" ng-click="btnChargeFees()">[% l('Charge Fees') %]</label>
     <label class="btn btn-primary" ng-model="mode" btn-radio="'waive'"
     <label class="btn btn-primary" ng-model="mode" btn-radio="'waive'"
-      ng-class="{active: mode == 'waive'}" ng-click="btnWaiveFees()">No Charge</label>
+      ng-class="{active: mode == 'waive'}" ng-click="btnWaiveFees()">[% l('No Charge') %]</label>
   </div>
   <button class="btn btn-primary" ng-disabled="applyFine == 'apply' && circ && (billArgs.charge == null || !billArgs.type)" ng-click="ok()">[% l('Submit') %]</button>
   <button class="btn btn-warning" ng-if="!billArgs.charge && applyFine != 'noapply'" ng-click="cancel()">[% l('Cancel') %]</button>
   </div>
   <button class="btn btn-primary" ng-disabled="applyFine == 'apply' && circ && (billArgs.charge == null || !billArgs.type)" ng-click="ok()">[% l('Submit') %]</button>
   <button class="btn btn-warning" ng-if="!billArgs.charge && applyFine != 'noapply'" ng-click="cancel()">[% l('Cancel') %]</button>
-</div>
\ No newline at end of file
+</div>