[open-ils-commits] [GIT] Evergreen ILS branch rel_2_6 updated. 052243f109b9005e310ba262b7c5c4d15f3900e8

Evergreen Git git at git.evergreen-ils.org
Mon Mar 2 21:26:22 EST 2015


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_2_6 has been updated
       via  052243f109b9005e310ba262b7c5c4d15f3900e8 (commit)
      from  49fbb02e6d3dc8acab94307c87cc0c9149c0e857 (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 052243f109b9005e310ba262b7c5c4d15f3900e8
Author: Adam Bowling <abowling at emeralddata.net>
Date:   Tue Jan 20 16:54:11 2015 -0500

    LP #1406350 Mobile Device Navigation Issue Fix for Shelf Browser
    
    Currently, when a browser window is narrowed too much, whether
    in a mobile browser, or on a desktop or laptop machine, the
    "Previous Page" and "Next Page" navigation links disappear. The
    only solution that seems to solve this is by removing the
    "THEAD" element from the shelf browser table.
    
    This patch removes that tag, adds a new row to imitate a new
    border as existed before, and modifies the CSS in .../opac/
    css/style.css.tt2 to address that difference.
    
    Signed-off-by: Adam Bowling <abowling at emeralddata.net>
    Signed-off-by: Yamil Suarez <yamil at yamil.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2
index 84d5fa5..ca33c66 100644
--- a/Open-ILS/src/templates/opac/css/style.css.tt2
+++ b/Open-ILS/src/templates/opac/css/style.css.tt2
@@ -1196,8 +1196,10 @@ a.dash-link:hover { text-decoration: underline !important; }
 .expert-search-row { padding-top: 10px; }
 #adv_expert_row label { font-weight: bold; }
 
-.bookshelf thead tr td {
+.bookshelf tr.browse_border td {
     border-bottom: 1px dashed [% css_colors.accent_dark %];
+    font-size: 1px;
+    height: 1px;
     padding-bottom: 1ex;
 }
 .cn_browse_item { padding: 2ex; }
diff --git a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
index 51ef1ad..835eab3 100644
--- a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
@@ -9,7 +9,6 @@
             [% l("You are now browsing [_1]", ctx.browsing_ou.name) | html %]
         </p>
         <table class='data_grid bookshelf' width='100%'>
-            <thead>
                 <tr>
                     <td>
                         <a class='classic_link lbl1' 
@@ -21,7 +20,9 @@
                             href="[% mkurl('', {cnoffset => cnoffset + 1}) %]#cnbrowse">[% l("Next Page >>") %]</a>
                     </td>
                 </tr>
-            </thead>
+            <tr class='browse_border'>
+                <td colspan='3'> </td>
+            </tr>
             <tbody>
             [%- tr_open = 0;
                 PROCESS get_library;

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

Summary of changes:
 Open-ILS/src/templates/opac/css/style.css.tt2      |    4 +++-
 .../src/templates/opac/parts/record/cnbrowse.tt2   |    5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list