Bugzilla – Attachment 64667 Details for
Bug 18860
OPAC Messaging Settings table is not styled with thead
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18860: Adding thead tags to OPAC messaging settings table
Bug-18860-Adding-thead-tags-to-OPAC-messaging-sett.patch (text/plain), 3.72 KB, created by
Aleisha Amohia
on 2017-06-27 02:04:06 UTC
(
hide
)
Description:
Bug 18860: Adding thead tags to OPAC messaging settings table
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-06-27 02:04:06 UTC
Size:
3.72 KB
patch
obsolete
>From 4c4bf0117da727b27e7113297075d5da3f255bb1 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 27 Jun 2017 01:59:55 +0000 >Subject: [PATCH] Bug 18860: Adding thead tags to OPAC messaging settings table > >So that it can be styled alongside other tables in the OPAC. > >To test: >1) Log into staff side >2) Find OPACUserCSS syspref and add the following CSS: >thead { >color: red; >} >3) Log into the OPAC >4) Go to your fines, your search history, your reading history etc - >notice all of these table's headings are styled with red text >5) Go to your messaging. Notice this table's headings are not styled >with red text >6) Apply patch and refresh page >7) Your messaging table should now have red headings. >(You can delete the CSS from OPACUserCSS if you'd like.) > >Sponsored-by: Catalyst IT >--- > .../bootstrap/en/modules/opac-messaging.tt | 22 +++++++++++++--------- > 1 file changed, 13 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >index 84cb228..ed7d468 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt >@@ -32,15 +32,18 @@ > <input type="hidden" name="modify" value="yes" /> > > <table class="table table-bordered table-condensed table-striped"> >- <tr> >- <th> </th> >- <th>Days in advance</th> >- [% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %] >- [% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %] >- <th>Email</th> >- <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="icon icon-info-sign"></i></th> >- <!-- <th>RSS</th> --><th>Do not notify</th> >- </tr> >+ <thead> >+ <tr> >+ <th> </th> >+ <th>Days in advance</th> >+ [% IF ( SMSSendDriver ) %]<th>SMS</th>[% END %] >+ [% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %] >+ <th>Email</th> >+ <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="icon icon-info-sign"></i></th> >+ <!-- <th>RSS</th> --><th>Do not notify</th> >+ </tr> >+ </thead> >+ <tbody> > [% FOREACH messaging_preference IN messaging_preferences %] > <tr> > <td>[% IF ( messaging_preference.Item_Due ) %]Item due >@@ -117,6 +120,7 @@ > <td><input type="checkbox" class="none" id="none[% messaging_preference.message_attribute_id %]" /></td> > </tr> > [% END # / FOREACH messaging_preferences%] >+ </tbody> > </table> > > <fieldset class="rows"> >-- >2.1.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 18860
:
64667
|
64852
|
66654