Bugzilla – Attachment 19504 Details for
Bug 10514
Add item link on acquisitions add item is too small
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10514 - make the add item link more noticeable when adding items to orders
Bug-10514---make-the-add-item-link-more-noticeable.patch (text/plain), 2.51 KB, created by
Jonathan Druart
on 2013-07-09 13:58:04 UTC
(
hide
)
Description:
Bug 10514 - make the add item link more noticeable when adding items to orders
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-07-09 13:58:04 UTC
Size:
2.51 KB
patch
obsolete
>From 46c970a682ae41072a1569341bd3c703742b4f33 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Fri, 28 Jun 2013 22:59:17 +1200 >Subject: [PATCH] Bug 10514 - make the add item link more noticeable when > adding items to orders > >it was so small. People were missing it all the time! > >To test: > >create a basket >add a record to it >scroll down - the link to add item and cancel should both be more prominent now. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 4 +++- > koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 4 ++-- > 2 files changed, 5 insertions(+), 3 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 f5d5bc2..ded5bd7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2576,7 +2576,9 @@ fieldset.rows table.mceListBox { > font-family : monospace; > padding : .3em; > } >- >+.addItemControl { >+ font-size:175%; >+} > /* Class to be added to toolbar when it starts being fixed at the top of the screen*/ > .floating { > -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >index 2c15b04..7cdcf7e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >@@ -134,8 +134,8 @@ function cloneItemBlock(index, unique_item_fields) { > $(this).val(random); > }); > /* Add buttons + and Clear */ >- var buttonPlus = '<a name="buttonPlus" style="cursor:pointer; margin:0 1em;" onclick="addItem(this,\'' + unique_item_fields + '\')">Add</a>'; >- var buttonClear = '<a name="buttonClear" style="cursor:pointer;" onclick="clearItemBlock(this)">' + (window.MSG_ADDITEM_JS_CLEAR || 'Clear') + '</a>'; >+ var buttonPlus = '<a class="addItemControl" name="buttonPlus" style="cursor:pointer; margin:0 1em;" onclick="addItem(this,\'' + unique_item_fields + '\')">Add Item</a>'; >+ var buttonClear = '<a class="addItemControl" name="buttonClear" style="cursor:pointer;" onclick="clearItemBlock(this)">' + (window.MSG_ADDITEM_JS_CLEAR || 'Clear') + '</a>'; > $(clone).append(buttonPlus).append(buttonClear); > /* Copy values from the original block (input) */ > $(original).find("input[name='field_value']").each(function(){ >-- >1.7.10.4
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 10514
:
19274
|
19504
|
19531
|
19536
|
19571
|
19583
|
19585
|
19586