LP1910452 Staff catalog Patron View button
authorBill Erickson <berickxx@gmail.com>
Wed, 28 Jul 2021 14:17:48 +0000 (10:17 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Fri, 13 Aug 2021 21:10:35 +0000 (17:10 -0400)
Adds a Patron View button to the Angular staff catalog record detail
page which opens the catalog in a new browser tab.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html

index 2b5bc7f..78f4695 100644 (file)
 
 <div class="row ml-0 mr-0">
 
+  <a target="_blank" href="/eg/opac/record/{{recId}}">
+    <button class="btn btn-outline-primary ml-1" i18n>Patron View</button>
+  </a>
+
   <a routerLink="/staff/catalog/hold/T" [queryParams]="{target: recId}">
     <button class="btn btn-outline-primary ml-1" i18n>Place Hold</button>
   </a>