[open-ils-commits] [GIT] Evergreen ILS branch master updated. d364097cf97040cc6b15bf52b6e2ca51891faa93

Evergreen Git git at git.evergreen-ils.org
Mon Mar 2 21:26:21 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, master has been updated
       via  d364097cf97040cc6b15bf52b6e2ca51891faa93 (commit)
      from  9ccc056d1e39cf7f99cc742734ce693b5bd573cd (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 d364097cf97040cc6b15bf52b6e2ca51891faa93
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 f93bf9e..9a2d2f6 100644
--- a/Open-ILS/src/templates/opac/css/style.css.tt2
+++ b/Open-ILS/src/templates/opac/css/style.css.tt2
@@ -1192,8 +1192,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 4699883..2dba5e5 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" rel="nofollow" vocab="">[% 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