[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 9c7ca326b6d996ddb90968f7339a5f7aa5969b5a

Evergreen Git git at git.evergreen-ils.org
Fri Oct 5 16:43:09 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_1 has been updated
       via  9c7ca326b6d996ddb90968f7339a5f7aa5969b5a (commit)
       via  ac323cb7ea8003e1754bd380d45e5e266261a342 (commit)
      from  32437e980820d9593ca816e387ff285259aa7041 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9c7ca326b6d996ddb90968f7339a5f7aa5969b5a
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Fri Oct 5 16:41:04 2018 -0400

    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 at equinoxinitiative.org>

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 2e910b2..ec4473b 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 1f8e9f6..02506bc 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>

commit ac323cb7ea8003e1754bd380d45e5e266261a342
Author: Garry Collum <gcollum at gmail.com>
Date:   Thu May 31 21:22:35 2018 -0400

    LP#1770246 Catalog linked title column in query and pending buckets
    
    To mirror the Record Bucket View grid, this patch adds a title column
    in the query and pending bucket tabs that links to the catalog record
    of the title displayed. The catalog record is opened in a new tab, so
    the query and pending data is not lost.
    
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

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 6d3a525..2e910b2 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
@@ -17,4 +17,9 @@
   <eg-grid-action label="[% l('Clear List') %]" 
     handler="resetPendingList"></eg-grid-action>
 
+  <eg-grid-field label="[% l('Title') %]" path="title">
+    <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
+    {{item.title}}
+    </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 684b139..1f8e9f6 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
@@ -43,4 +43,9 @@
   <eg-grid-action label="[% l('Add To Bucket') %]" 
     handler="addToBucket"></eg-grid-action>
 
+  <eg-grid-field label="[% l('Title') %]" path="title">
+    <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
+    {{item.title}}
+    </a>
+  </eg-grid-field>
 </eg-grid>

-----------------------------------------------------------------------

Summary of changes:
 .../staff/cat/bucket/record/t_pending.tt2          |    5 +++++
 .../templates/staff/cat/bucket/record/t_search.tt2 |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list