Bugzilla – Attachment 49713 Details for
Bug 16162
Making dictionary 'Delete' a font awesome button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16162: Making dictionary 'Delete' a button
Bug-16162-Making-dictionary-Delete-a-button.patch (text/plain), 1.99 KB, created by
Aleisha Amohia
on 2016-03-31 04:52:30 UTC
(
hide
)
Description:
Bug 16162: Making dictionary 'Delete' a button
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-31 04:52:30 UTC
Size:
1.99 KB
patch
obsolete
>From 217d56b432275c1fb5c81903d5a0d2372f5505e0 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 29 Mar 2016 23:44:56 +0000 >Subject: [PATCH] Bug 16162: Making dictionary 'Delete' a button > >EDIT: This patch should have gotten rid of those tabs > >To test: >1) Go to Reports -> View dictionary >2) Confirm that the 'Delete definition' button now just says 'Delete' and is styled as a font awesome button. >3) Confirm that the button does not wrap on narrower browsers. >4) Confirm that column heading is now 'Action'. >5) Confirm that button deletes as expected. (If you're wondering about the missing confirm message upon delete, see Bug 16161.) > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >index 30be1ed..117bbb8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt >@@ -68,7 +68,7 @@ > <th>Description</th> > <th>Area</th> > <th>Definition</th> >- <th> </th> >+ <th>Action</th> > </tr> > [% FOREACH definition IN definitions %] > <tr> >@@ -76,10 +76,10 @@ > <td>[% definition.description %]</td> > <td>[% definition.areaname %]</td> > <td>[% definition.saved_sql %]</td> >- <td><form method="post" action="/cgi-bin/koha/reports/dictionary.pl"> >+ <td class="actions"><form method="post" action="/cgi-bin/koha/reports/dictionary.pl"> > <input type="hidden" name="id" value="[% definition.id %]" /> > <input type="hidden" name="phase" value="Delete Definition" /> >- <input type="submit" name="submit" value="Delete Definition" /> >+ <button type="submit" name="submit" class="btn btn-mini"><i class="fa fa-trash"></i> Delete</button> > </form></td> > </tr> > [% 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 16162
:
49661
|
49713
|
49715
|
49748
|
49816
|
49819