Record Detail hold/list links become buttons
authorWilliam Rockwood <wrockwood@tadl.org>
Thu, 15 Nov 2012 21:17:22 +0000 (16:17 -0500)
committerWilliam Rockwood <wrockwood@tadl.org>
Thu, 15 Nov 2012 21:18:13 +0000 (16:18 -0500)
- 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 <wrockwood@tadl.org>
css/buttons.css
css/tadl.css
templates_tadlskin/opac/parts/record/summary.tt2

index 6e1ede0..3c1c042 100644 (file)
@@ -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;
index 37c5afe..5fe4447 100644 (file)
@@ -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 {
index f1eea4f..4e4a244 100644 (file)
 
     <div id="rdetail_actions_div">
        [% IF !args.ezproxy %]
-        <div class="rdetail_aux_utils place_hold">
+        <div class="rdetail_aux_utils">
             <a href="[% mkurl(ctx.opac_root _ '/place_hold', 
                 {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]" 
-            class="no-dec"><img src="[% ctx.media_prefix %]/images/green_check.png" alt="[% l('place hold') %]" /><span 
-            class="place_hold">[% l('Place Hold') %]</span></a>
-        </div>
+            class="tbutton small green"><span>[% l('Place Hold') %]</span></a>
        [% END %]
-        <div class="rdetail_aux_utils toggle_list">
         [%-  
             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"); 
         %]
-            <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="no-dec">
-                <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
-                [% label %]
+            <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="tbutton small tadlblue">
+                <span>[% label %]</span>
             </a>
         </div>
         <div class="rdetail_aux_utils">