Bugzilla – Attachment 48551 Details for
Bug 15959
Use Font Awesome icons for attach item confirmations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15959 - Use Font Awesome icons for attach item confirmations
Bug-15959---Use-Font-Awesome-icons-for-attach-item.patch (text/plain), 3.81 KB, created by
Owen Leonard
on 2016-03-02 16:44:41 UTC
(
hide
)
Description:
Bug 15959 - Use Font Awesome icons for attach item confirmations
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-02 16:44:41 UTC
Size:
3.81 KB
patch
obsolete
>From 7bd23ba6e494468a49e9a2ad6f7918861683a4a9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 2 Mar 2016 11:37:09 -0500 >Subject: [PATCH] Bug 15959 - Use Font Awesome icons for attach item > confirmations >Content-Type: text/plain; charset="utf-8" > >When attaching an existing item to a record, the confirmation and error >dialogs should be styled using Font Awesome icons. This patch revises >the buttons and revises the global CSS file. > >To test, apply the patch and clear your cache if necessary. > >- Locate a record in the catalog to which you can attach an item. >- Select "Attach item" from the "Edit" menu. >- Submit a barcode for an exising item. >- Verify that the confirmation dialog is correctly styled. > - Test the operation of both the "OK" and the "Attach another item" > buttons. >- Submit an invalid barcode. >- Verify that the error dialog is correctly styled. > - Test the operation of both the "OK" and the "Try again" > buttons. >--- > koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 4 ++++ > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt | 8 ++++---- > 2 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index 58a1d15..8bb863d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -1225,6 +1225,10 @@ div.alert strong { > color: #cc0000; > } > >+.new i.fa { >+ color: #425FAF; >+} >+ > a.clear-field { > background : transparent url("../../img/clear-field.png") center left no-repeat; > padding-left : 16px; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >index e998929..f11dc7d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt >@@ -21,11 +21,11 @@ > [% END %] > > [% BLOCK fail %] >- <input type="submit" class="approve" value="OK" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> > <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> > </form> > <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"> >- <input type="submit" class="new" value="Try again with a different barcode"/> >+ <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> Try again with a different barcode</button> > <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> > </form> > [% END %] >@@ -55,11 +55,11 @@ > <div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>. > <p> > [% INCLUDE actions %] >- <input type="submit" class="approve" value="OK" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> > <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> > </form> > <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/> >- <input type="submit" class="new" value="Attach another item"/> >+ <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> Attach another item</button> > <input type="hidden" name="biblionumber" value="[% biblionumber %]" /> > </form> > </p> >-- >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 15959
:
48551
|
48564
|
48614