From 6003c6b320a4fec0be37b4940a676dfdfa1875f4 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=utf8 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 Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- 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 d79398e41d..fee31d8711 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 %] -- 2.39.5