LP#1847922: hide privacy waiver entries when the feature is not enabled user/jeffdavis/lp1847922-hide-privacy-waiver-entries-when-disabled
authorJeff Davis <jeff.davis@bc.libraries.coop>
Sun, 13 Oct 2019 18:05:10 +0000 (11:05 -0700)
committerJeff Davis <jeff.davis@bc.libraries.coop>
Sun, 13 Oct 2019 18:05:10 +0000 (11:05 -0700)
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Open-ILS/src/templates/staff/circ/patron/t_summary.tt2

index d5c18ea..f313f06 100644 (file)
       <div class="col-md-5">[% l('Name Keywords') %]</div>
       <div class="col-md-7">{{patron().name_keywords()}}</div>
     </div>
-    <div class="row patron-summary-divider" ng-if="patron().waiver_entries().length > 0">
+    <div class="row patron-summary-divider" ng-if="org_settings['circ.privacy_waiver'] && patron().waiver_entries().length > 0">
       [% l('Allow others to use my account') %]
     </div>
     <div class="row" ng-repeat="waiver in patron().waiver_entries()">