Bugzilla – Attachment 51214 Details for
Bug 16438
Use Font Awesome icons in batch templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16438: Use Font Awesome icons in batch templates
Bug-16438-Use-Font-Awesome-icons-in-batch-template.patch (text/plain), 6.68 KB, created by
Jonathan Druart
on 2016-05-04 18:00:57 UTC
(
hide
)
Description:
Bug 16438: Use Font Awesome icons in batch templates
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-04 18:00:57 UTC
Size:
6.68 KB
patch
obsolete
>From f96af07cadd23bca8f4305eb82bd940f4194408c Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Tue, 3 May 2016 14:53:25 -0600 >Subject: [PATCH] Bug 16438: Use Font Awesome icons in batch templates > >Add Font Awesome icons in tables in authorities and bib records >in batch item/record deletion, modification templates > >To test: >1- Go to Tools > Batch item/record deletion/modification >2- Try to delete/modify itmes/bib and authorities records >3- Look all tables presented and notice about the new icons in Select all > Clear all, etc. >4- Apply patch and repeat step 1 to 3 > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Work, nice view. >No Errors > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 2 +- > .../intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 2 +- > .../prog/en/modules/tools/batch_delete_records.tt | 14 +++++++------- > .../prog/en/modules/tools/batch_record_modification.tt | 8 ++++---- > 4 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >index 612ec2c..c813469 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt >@@ -75,7 +75,7 @@ for( x=0; x<allColumns.length; x++ ){ > [% END %] > > [% IF ( item_loop ) %] >- [% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#">Select all</a> | <a id="clearallbutton" href="#">Clear all</a></div>[% END %] >+ [% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a></div>[% END %] > <div id="cataloguing_additem_itemlist"> > > <p id="selections"><strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >index 7626c04..8f98e7b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt >@@ -108,7 +108,7 @@ $(document).ready(function(){ > [% IF ( item_loop ) %] > [% IF show %] > <div id="toolbar"> >- <a id="selectallbutton" href="#">Select all</a> | <a id="clearallbutton" href="#">Clear all</a> | <a id="clearonloanbutton" href="#">Clear on loan</a> >+ <a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" href="#"><i class="fa fa-remove"></i><i class="fa fa-cart-plus" aria-hidden="true"></i> Clear on loan</a> > </div> > [% END %] > <div id="cataloguing_additem_itemlist"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >index c94c6e2..7d5698f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >@@ -145,10 +145,10 @@ $(document).ready(function() { > [% IF records %] > [% IF recordtype == 'biblio' %] > <div id="toolbar"> >- <a id="selectall" href="#">Select all</a> >- | <a id="clearall" href="#">Clear all</a> >- | <a id="selectwithoutitems" href="#">Select without items</a> >- | <a id="selectnotreserved" href="#">Select without holds</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >+ | <a id="selectwithoutitems" href="#"><i class="fa fa-check"></i><i class="fa fa-book fa-fw"></i>Select without items</a> >+ | <a id="selectnotreserved" href="#"><i class="fa fa-check"></i><i class="fa fa-sticky-note-o"></i> Select without holds</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> > <table id="biblios" class="records"> >@@ -178,9 +178,9 @@ $(document).ready(function() { > <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached items!</div> > [% ELSE %] > <div id="toolbar"> >- <a id="selectall" href="#">Select all</a> >- | <a id="clearall" href="#">Clear all</a> >- | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> >+ | <a id="clearlinkedtobiblio" href="#"><i class="fa fa-remove"></i><i class="fa fa-bars"></i> Clear used authorities</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> > <table id="authorities" class="records"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >index 6cb6fbf..a724c36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >@@ -192,8 +192,8 @@ $(document).ready(function() { > </div> > [% IF recordtype == 'biblio' %] > <div id="toolbar"> >- <a id="selectall" href="#">Select all</a> >- | <a id="clearall" href="#">Clear all</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> > </div> > <table id="biblios" class="records"> > <thead> >@@ -218,8 +218,8 @@ $(document).ready(function() { > <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div> > [% ELSE %] > <div id="toolbar"> >- <a id="selectall" href="#">Select all</a> >- | <a id="clearall" href="#">Clear all</a> >+ <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a> >+ | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a> > </div> > <table id="authorities" class="records"> > <thead> >-- >2.7.0
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 16438
:
51169
|
51170
|
51171
|
51210
|
51211
|
51212
|
51213
| 51214 |
51215