From 3b88f4ab4ec67a24d970f2305690088826164c87 Mon Sep 17 00:00:00 2001 From: William Rockwood Date: Thu, 15 Nov 2012 16:17:22 -0500 Subject: [PATCH] Record Detail hold/list links become buttons - Modified hold/list links on record detail page to become buttons with custom spacing for those buttons and the div that encloses them. Signed-off-by: William Rockwood --- css/buttons.css | 2 +- css/tadl.css | 5 ++--- templates_tadlskin/opac/parts/record/summary.tt2 | 14 +++++--------- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/css/buttons.css b/css/buttons.css index 6e1ede0905..3c1c042030 100644 --- a/css/buttons.css +++ b/css/buttons.css @@ -38,7 +38,7 @@ -webkit-user-select:none; -khtml-user-select: none; user-select: none; - margin: 5px; + margin: 5px 0 0 5px; } .tbutton.full, .tbutton.full span { display: block; diff --git a/css/tadl.css b/css/tadl.css index 37c5afed6d..5fe4447fa5 100644 --- a/css/tadl.css +++ b/css/tadl.css @@ -500,9 +500,8 @@ span#rdetail_hold_counts { } .rdetail_aux_utils { - padding-left: 17px; - padding-bottom: 6px; - padding-right: 70px; + padding: 2px; + width: 242px; } div.place_hold { diff --git a/templates_tadlskin/opac/parts/record/summary.tt2 b/templates_tadlskin/opac/parts/record/summary.tt2 index f1eea4fe92..4e4a244932 100644 --- a/templates_tadlskin/opac/parts/record/summary.tt2 +++ b/templates_tadlskin/opac/parts/record/summary.tt2 @@ -43,21 +43,17 @@
[% IF !args.ezproxy %] -
+ + class="tbutton small green">[% l('Place Hold') %] [% END %] -
[%- operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add"; - label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); + label = (operation == "add") ? l("Add to list") : l("Remove from list"); %] - - - [% label %] + + [% label %]
-- 2.11.0