Bugzilla – Attachment 19536 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.69 KB, created by
Liz Rea
on 2013-07-11 02:27:30 UTC
(
hide
)
Description:
Bug 10514 - make the add item link more noticeable when adding items to orders
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2013-07-11 02:27:30 UTC
Size:
2.69 KB
patch
obsolete
>From 89668b4d5894596e3f9425f77217fea2a905f497 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. >Click "Add item" - it should add an item. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> > >Follow up for translation and capitalisation. Probably deserves another sign off. >--- > .../intranet-tmpl/prog/en/css/staff-global.css | 4 +++- > koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 5 +++-- > 2 files changed, 6 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..94a6b98 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >@@ -134,8 +134,9 @@ 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 buttonPlusText = _("Add item"); >+ var buttonPlus = '<a class="addItemControl" name="buttonPlus" style="cursor:pointer; margin:0 1em;" onclick="addItem(this,\'' + unique_item_fields + '\')">' + buttonPlusText +'</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.9.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 10514
:
19274
|
19504
|
19531
|
19536
|
19571
|
19583
|
19585
|
19586