Bugzilla – Attachment 91555 Details for
Bug 18421
Make Coce cover images available for staff search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18421: (follow-up) Center image in results table
Bug-18421-follow-up-Center-image-in-results-table.patch (text/plain), 886 bytes, created by
Maryse Simard
on 2019-07-16 13:36:35 UTC
(
hide
)
Description:
Bug 18421: (follow-up) Center image in results table
Filename:
MIME Type:
Creator:
Maryse Simard
Created:
2019-07-16 13:36:35 UTC
Size:
886 bytes
patch
obsolete
>From abc0e08bbcb45436c5bd0a5b96721ce4b52f2029 Mon Sep 17 00:00:00 2001 >From: Maryse Simard <maryse.simard@inlibro.com> >Date: Fri, 4 Jan 2019 09:18:33 -0500 >Subject: [PATCH] Bug 18421: (follow-up) Center image in results table > >Adds the "thumbnail" class to the image to have it centered. >--- > koha-tmpl/intranet-tmpl/js/coce.js | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/js/coce.js b/koha-tmpl/intranet-tmpl/js/coce.js >index 95669a0..daa21b7 100644 >--- a/koha-tmpl/intranet-tmpl/js/coce.js >+++ b/koha-tmpl/intranet-tmpl/js/coce.js >@@ -32,6 +32,7 @@ KOHA.coce = { > $("[id^=coce-thumbnail]."+id).each(function() { > var img = document.createElement("img"); > img.src = url; >+ img.classList.add("thumbnail"); > img.title = url; //FIXME: to delete > $(this).html(img); > }); >-- >2.7.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 18421
:
71322
|
71977
|
72772
|
73401
|
73495
|
74252
|
77597
|
77598
|
77599
|
77764
|
77765
|
80137
|
80138
|
80139
|
83633
|
83634
|
83635
|
83636
|
91552
|
91553
|
91554
|
91555
|
91786
|
91787
|
91788
|
91789
|
93654
|
93655
|
93656
|
93657