From 7547695a28c5473370d346eda565a62759bffe27 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Wed, 4 May 2016 12:10:41 -0600 Subject: [PATCH] Bug 16439: Allow styling to button for upload local cover images (Font Awesome Icons) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improve button for upload local cover image with Font Awesome Icon To test: -Set syspref LocalCoverImages and OPACLocalCoverImages to Allow -A new tab 'Images' appear in bib record detail on Intranet. -Notice about the button upload. -Apply the patch and reload the page. -The button is changed for class=btn btn-mini like the button "edit" used in items in the tab Holdings -Also added the Font Awesome icon upload "fa fa-upload" class. Button is styled as expected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index a1e4efb..ff44e80 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -85,7 +85,7 @@ function verify_images() { no_images_msg = '

' + no_images_msg + '

'; [% IF ( CAN_user_tools_upload_local_cover_images ) %] var please_upload = _("Please select the image file to upload. %sUpload%s").format( - "", + " ", ""); no_images_msg += "

" + please_upload + '

'; [% END %] -- 1.7.10.4