From 4c8e069b031015f16daeece84364f01933f38d9f Mon Sep 17 00:00:00 2001
From: Galen Charlton <gmc@equinoxinitiative.org>
Date: Fri, 5 Oct 2018 16:41:04 -0400
Subject: [PATCH] LP#1770246: (follow-up) display the open-in-new-window/tab
 icon

Since the title links added by the previous patch intentionally open
the record in a new tab, display the corresponding icon to be
consistent with other interfaces.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
---
 Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 | 2 +-
 Open-ILS/src/templates/staff/cat/bucket/record/t_search.tt2  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 b/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2
index 2e910b2a4d..ec4473be20 100644
--- a/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2
+++ b/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2
@@ -19,7 +19,7 @@
 
   <eg-grid-field label="[% l('Title') %]" path="title">
     <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
-    {{item.title}}
+    {{item.title}} <span ng-show="item.id" class="glyphicon glyphicon-new-window"/>
     </a>
   </eg-grid-field>
 </eg-grid>
diff --git a/Open-ILS/src/templates/staff/cat/bucket/record/t_search.tt2 b/Open-ILS/src/templates/staff/cat/bucket/record/t_search.tt2
index 1f8e9f611c..02506bc951 100644
--- a/Open-ILS/src/templates/staff/cat/bucket/record/t_search.tt2
+++ b/Open-ILS/src/templates/staff/cat/bucket/record/t_search.tt2
@@ -45,7 +45,7 @@
 
   <eg-grid-field label="[% l('Title') %]" path="title">
     <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
-    {{item.title}}
+    {{item.title}} <span ng-show="item.id" class="glyphicon glyphicon-new-window"/>
     </a>
   </eg-grid-field>
 </eg-grid>
-- 
2.11.0