PINES Customization: Patron Summary Link to Library
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 11 Dec 2018 00:31:49 +0000 (19:31 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:52:45 +0000 (14:52 -0500)
Turn patron home library name on the patron summary bar into
a link to the library's contact info page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/staff/circ/patron/t_summary.tt2

index f8d2b65..3a1dd3a 100644 (file)
@@ -51,7 +51,7 @@
     </div>
     <div class="row">
       <div class="col-md-5">[% l('Home Library') %]</div>
-      <div class="col-md-7" title="{{patron().home_ou().name()}}">{{patron().home_ou().shortname()}}</div>
+      <div class="col-md-7"><a href="[% ctx.base_path %]/opac/library/{{patron().home_ou().shortname()}}" target="_blank">{{patron().home_ou().shortname()}}</a></div>
     </div>
     <div class="row">
       <div class="col-md-5">[% l('Net Access') %]</div>