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

Evergreen Git git at git.evergreen-ils.org
Mon Nov 19 10:33:22 EST 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  dca8b09ff8fe418e4e0fc4a6e1660929caade45a (commit)
      from  af1c5ce175f35d6b90be0235ccf7275dc98f773f (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 dca8b09ff8fe418e4e0fc4a6e1660929caade45a
Author: Garry Collum <gcollum at gmail.com>
Date:   Sat Jun 16 14:13:22 2018 -0400

    LP#1761242 Z39.50 Marc View Usability with Mobile Repsonsiveness
    
    This patch changes the size of the image in the Z39.50 Marc View from large to
    medium.  It also incorporates bootstrap's media classes to present the Marc
    record and the cover image side by side.  If there is no image the marc record
    display floats to the left of the modal. From a suggestion by Jane Sandbert, it
    also hides the book cover image on small devices.
    
    To test.
    1. Perform a search in z39.50.  An LOC title search for "Cat in the Hat"
       returms results of titles with and without images.
    2. View some of the titles in Marc View, noting the large image.
    3. Apply the patch.
    4. Perform the same search and view the results in Marc View.
    
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Janet Schrader <jschrader at cwmars.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_marc_html.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_marc_html.tt2
index a305172..e26db07 100644
--- a/Open-ILS/src/templates/staff/cat/z3950/t_marc_html.tt2
+++ b/Open-ILS/src/templates/staff/cat/z3950/t_marc_html.tt2
@@ -5,8 +5,14 @@
     <h4 class="modal-title">[% l('View MARC') %]</h4>
   </div>
   <div class="modal-body">
-    <img ng-src="/opac/extras/ac/jacket/large/{{isbn}}"></img>
-    <eg-record-html marc-xml="{{marc_xml}}" />
+    <div class="media">
+      <div class="media-left hidden-xs">
+        <img ng-src="/opac/extras/ac/jacket/medium/{{isbn}}"></img>
+      </div>
+      <div class="media-body">
+        <eg-record-html marc-xml="{{marc_xml}}" />
+      </div>
+    </div>
   </div>
   <div class="modal-footer">
     <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>

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

Summary of changes:
 .../src/templates/staff/cat/z3950/t_marc_html.tt2  |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list