Bugzilla – Attachment 15848 Details for
Bug 9456
Add callnumber column to the cart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9456 - Add callnumber column to the cart - Improve individual item presentation in the Items column
Bug-9456---Add-callnumber-column-to-the-cart---Imp.patch (text/plain), 3.44 KB, created by
Kyle M Hall (khall)
on 2013-03-04 14:00:05 UTC
(
hide
)
Description:
Bug 9456 - Add callnumber column to the cart - Improve individual item presentation in the Items column
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-03-04 14:00:05 UTC
Size:
3.44 KB
patch
obsolete
>From da8ae68e0ed175a9e892bd63080da01a8f625621 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 4 Mar 2013 08:10:23 -0500 >Subject: [PATCH] Bug 9456 - Add callnumber column to the cart - Improve individual item presentation in the Items column > >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 8 ++++++++ > .../intranet-tmpl/prog/en/modules/basket/basket.tt | 13 ++++++------- > 2 files changed, 14 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index 18a4ef2..83b4238 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2548,3 +2548,11 @@ a.disabled { > .modal-header .closebtn{margin-top:2px;} > .closebtn{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.closebtn:hover{color:#000000;text-decoration:none;cursor:pointer;opacity:0.4;filter:alpha(opacity=40);} > button.closebtn{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;} >+ >+.inline { >+ display : inline; >+} >+ >+.nowrap { >+ white-space: nowrap; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index 5719c68..90269db 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -88,12 +88,11 @@ function placeHold () { > $(".holdsep").text("| "); > $(".hold").text(_("Place Hold")); > $("#downloadcartc").empty(); >- yuiToolbar(); > > /* Define two custom functions (asc and desc) for string sorting */ > jQuery.fn.dataTableExt.oSort['callnumbers-asc'] = function(x,y) { >- var x_array = x.split("<span>"); >- var y_array = y.split("<span>"); >+ var x_array = x.split("<div>"); >+ var y_array = y.split("<div>"); > > /* Pop the first elements, they are empty strings */ > x_array.shift(); >@@ -109,8 +108,8 @@ function placeHold () { > }; > > jQuery.fn.dataTableExt.oSort['callnumbers-desc'] = function(x,y) { >- var x_array = x.split("<span>"); >- var y_array = y.split("<span>"); >+ var x_array = x.split("<div>"); >+ var y_array = y.split("<div>"); > > /* Pop the first elements, they are empty strings */ > x_array.shift(); >@@ -348,8 +347,8 @@ function placeHold () { > | <a href="#" onclick="placeHold(); return false;">Place hold</a> > [% END %] > >- > [% END %] >+ > </p> > <table id="itemst"> > <thead><tr> >@@ -385,7 +384,7 @@ function placeHold () { > <td> > [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] > [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >- <span>[% ITEM_RESULT.itemcallnumber %] [% ITEM_RESULT.branchname %] <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></span> >+ <div><span class="nowrap"><strong>[% ITEM_RESULT.itemcallnumber %]</strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> > [% END %] > [% ELSE %] > This record has no items. >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9456
:
14779
|
14780
|
14782
|
14783
|
14861
|
14903
|
14904
|
15542
|
15544
|
15727
|
15728
|
15759
|
15760
|
15813
|
15844
|
15845
|
15846
|
15847
|
15848
|
15937
|
15938
|
15941
|
15943
|
15944
|
15949
|
15950
|
16630
|
16631
|
16734
|
17994
|
17995
|
17996
|
17997
|
19123
|
19124
|
19125
|
19126
|
19146
|
19844
|
19845
|
19846
|
19847
|
19848
|
19849
|
20341
|
20385
|
20386
|
20387
|
20388
|
20389
|
20390