Add new span for myopac buttons
authorBen Shum <bshum@biblio.org>
Thu, 19 Sep 2013 02:03:19 +0000 (22:03 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:42:09 +0000 (18:42 -0400)
Based on direction from Kathy Lussier:

1) Add a new span for the myopac buttons to keep them grouped
2) Hide an unnecessary extra dash divider from the myopac dashboard identity

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/topnav.tt2

index fbdf160..e1da9bf 100644 (file)
@@ -1942,6 +1942,12 @@ a.preflib_change {
     .mobile_hide {
        display: none;
     } 
+    .dash_divider {
+       display: none;
+    }
+    .dash_account_buttons {
+        display: block;
+    } 
     .searchbar { line-height: 1.5em; }
     #browse-controls { line-height: 1.5em; }
     #search_query_label, #search_qtype_label, #search_itype_label, #search_locg_label {
@@ -1954,4 +1960,5 @@ a.preflib_change {
     .bookshelf table thead tr {
        display: block;
     }
+
 }
index 46c497a..e9cacdd 100644 (file)
                     [%  l('[_1] [_2]', ctx.user.first_given_name, ctx.user.family_name) | html %]
                 </span>
                 <span class="dash_divider">|</span>
+                <span class="dash_account_buttons">
                 <a href="[% mkurl(ctx.opac_root _ '/myopac/main') %]" 
                     class="opac-button">[% l('My Account') %]</a>
 
                 <a href="[% mkurl(ctx.opac_root _ '/logout', {}, 1) %]"
                     class="opac-button" id="logout_link">[% l('Logout') %]</a>
+                </span>
             </div>
             <div id="dashboard">
                 <span class="dash-align">