PINES Customization: Make Patron Email Active Link rel_2_12_4_patron_email_active_link
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 30 Aug 2017 16:04:26 +0000 (12:04 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 30 Aug 2017 16:04:26 +0000 (12:04 -0400)
When viewing a patron record, make the email address
an active link. If the staff user has their browser
configured correctly, clicking the link will launch
the email service of their choice.

Open-ILS/src/templates/staff/circ/patron/t_summary.tt2

index 690a2f6..bf14802 100644 (file)
     </div>
     <div class="row">
       <div class="col-md-5">[% l('Email') %]</div>
-      <div class="col-md-7">{{patron().email()}}</div>
+      <div class="col-md-7"><a href="mailto:{{patron().email()}}">{{patron().email()}}</a></div>
     </div>
     <div class="row" ng-repeat="map in summary_stat_cats()">
       <div class="col-md-5">{{map.stat_cat().name()}}</div>