From 4e1ab37ff215a8d42b8525de6fe27cb29bde8abf Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Fri, 19 Aug 2016 13:41:14 -0400 Subject: [PATCH] LP#1614807: Holds history should look like other My Account screens The Holds History My Account interface looks entirely different than the Items Out, Check Out History, and Items On Holds interfaces. This commit adds a new acct_holds_hist_header CSS class that shares the same styles as the CSS classes used for the other three interfaces. Inline styles are removed from this table. Test plan Pre-patch: Go to the My Account Items Out, Check Out History, Items on Hold, and Holds History interfaces. While the first three interfaces use a table with a white background for the headers and a gray background for the body, the Holds History interface is the opposite. Post patch: All four interfaces should show a similar style to each other. Signed-off-by: Kathy Lussier Signed-off-by: Mike Rylander --- Open-ILS/src/templates/opac/css/style.css.tt2 | 6 ++-- .../src/templates/opac/myopac/hold_history.tt2 | 32 ++++++++++------------ 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index dacad7aa3e..7637863264 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -903,7 +903,7 @@ div.result_table_utils_cont { /*padding-left:10px;*/ } -#acct_checked_main_header, #acct_holds_main_header, #acct_checked_hist_header, #acct_list_header, #acct_list_header_anon, #temp_list_holds, #acct_messages_main_header { +#acct_checked_main_header, #acct_holds_main_header, #acct_checked_hist_header, #acct_holds_hist_header, #acct_list_header, #acct_list_header_anon, #temp_list_holds, #acct_messages_main_header { border-collapse: collapse; } @@ -914,12 +914,12 @@ div.result_table_utils_cont { .hold_note_title { font-weight: bold; } -#acct_checked_main_header td, #acct_holds_main_header td, #acct_checked_hist_header td, #acct_list_header td, #acct_list_header_anon td, #temp_list_holds td, #acct_messages_main_header td { +#acct_checked_main_header td, #acct_holds_main_header td, #acct_checked_hist_header td, #acct_holds_hist_header td, #acct_list_header td, #acct_list_header_anon td, #temp_list_holds td, #acct_messages_main_header td { background: [% css_colors.accent_lighter2 %]; padding: 10px; } -#acct_checked_main_header th, #acct_holds_main_header th, #acct_checked_hist_header th, #acct_list_header th, #acct_list_header_anon th, #temp_list_holds th, #acct_messages_main_header th { +#acct_checked_main_header th, #acct_holds_main_header th, #acct_checked_hist_header th, acct_holds_hist_header th, #acct_list_header th, #acct_list_header_anon th, #temp_list_holds th, #acct_messages_main_header th { text-align: left; padding: 0px 10px 0px 10px; } diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index 9aae602297..a142bf5a16 100644 --- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 @@ -52,21 +52,20 @@ [% l('No holds found.') %] [% ELSE %] - - +
+ - - - - - - - - + - + [% FOR hold IN ctx.holds; attrs = {marc_xml => hold.marc_xml}; PROCESS get_marc_attrs args=attrs; @@ -75,19 +74,19 @@ -- 2.11.0
[% l('Title') %][% l('Author') %] [% l('Format') %][% l('Pickup Location') %] [% l('Activate') %][% l('Active') %][% l('Date Fulfilled') %][% l('Status') %][% l('Title') %] + [% l('Author') %] + [% l('Format') %] + [% l('Pickup Location') %] + [% l('Activate') %] + [% l('Active') %] + [% l('Date Fulfilled') %] + [% l('Status') %]
- - -
+
[% IF attrs.format_icon %] [% attrs.format_label | html %] [% END %] @@ -116,8 +115,7 @@ END %]
-
+
[% PROCESS get_hold_status hold=hold; %]