Bugzilla – Attachment 51216 Details for
Bug 16439
Allow styling to button for upload local cover images (Font Awesome Icons)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16439: Allow styling to button for upload local cover images (Font Awesome Icons)
Bug-16439-Allow-styling-to-button-for-upload-local.patch (text/plain), 1.78 KB, created by
Héctor Eduardo Castro Avalos
on 2016-05-04 18:08:35 UTC
(
hide
)
Description:
Bug 16439: Allow styling to button for upload local cover images (Font Awesome Icons)
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-05-04 18:08:35 UTC
Size:
1.78 KB
patch
obsolete
>From 31b63d4212c07171d71cc05ef161393bb8526169 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >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) > >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. >--- > 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 = '<p>' + no_images_msg + '</p>'; > [% IF ( CAN_user_tools_upload_local_cover_images ) %] > var please_upload = _("Please select the image file to upload. %sUpload%s").format( >- "<a class='btn' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>", >+ "<a class='btn btn-mini' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ", > "</a>"); > no_images_msg += "<p id='upload_image'>" + please_upload + '</p>'; > [% END %] >-- >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 16439
:
51216
|
51236
|
51256