Bugzilla – Attachment 49230 Details for
Bug 16071
Use Font Awesome icons in authority record duplicate warning dialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 16071: Use Font Awesome icons in authority duplicate warning dialog
SIGNED-OFFBug-16071-Use-Font-Awesome-icons-in-auth.patch (text/plain), 3.05 KB, created by
Héctor Eduardo Castro Avalos
on 2016-03-16 14:51:07 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 16071: Use Font Awesome icons in authority duplicate warning dialog
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-03-16 14:51:07 UTC
Size:
3.05 KB
patch
obsolete
>From c90d98ad26547c752b1f7a9fa1e179b34694ce9c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 14 Mar 2016 13:47:01 -0400 >Subject: [PATCH] [SIGNED-OFF]Bug 16071: Use Font Awesome icons in authority > duplicate warning dialog > >In the authority editor, when a duplicate record is suspected a >dialog is shown. This patch updates the template to show Font Awesome >icons in this dialog. > >Also changed: Using <h3> instead of <h4> in dialog so that it is >correctly styled. Adding "popup" class to duplicate record link to >indicate that a new window will be opened. > >To test, apply the patch and go to Authorities -> New record. > >- Use Z39.50 to import a record which is already in your catalog. >- Save the record. Confirm that the duplicate warning dialog is styled > correctly. >- Confirm that both the "Save as new" and "Edit existing" buttons work > correctly. > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised >--- > .../intranet-tmpl/prog/en/modules/authorities/authorities.tt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >index 7faf688..d8501a3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >@@ -181,15 +181,15 @@ function confirmnotdup(redirect){ > > [% IF ( duplicateauthid ) %] > <div class="dialog alert"> >- <h4>Duplicate record suspected</h4> >- <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a>?</p> >+ <h3>Duplicate record suspected</h3> >+ <p>Is this a duplicate of <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]" class="popup" onclick="openWindow('/cgi-bin/koha/authorities/detail.pl?authid=[% duplicateauthid %]&popup=1', 'DuplicateAuthority','800','600'); return false;" class="button">[% duplicateauthvalue %]</a> ?</p> > > <form action="authorities.pl" method="get"> > <input type="hidden" name="authid" value="[% duplicateauthid %]" /> >- <input type="submit" class="edit" value="Yes: Edit existing authority" /> >+ <button type="submit" class="new"><i class="fa fa-pencil"></i> Yes: Edit existing authority</button> > </form> > <form action="authorities.pl" method="get"> >- <input type="button" value="No: Save as new authority" class="save" accesskey="w" onclick="confirmnotdup('items'); return false;" /> >+ <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button> > </form> > </div> > [% 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 16071
:
49133
|
49230
|
49246