Bugzilla – Attachment 48980 Details for
Bug 16048
Making notices actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16048: Making notices actions buttons
Bug-16048-Making-notices-actions-buttons.patch (text/plain), 2.76 KB, created by
Aleisha Amohia
on 2016-03-10 23:46:52 UTC
(
hide
)
Description:
Bug 16048: Making notices actions buttons
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-10 23:46:52 UTC
Size:
2.76 KB
patch
obsolete
>From 5a4b279bd8610eaedb76232e0672f09ebf0a3569 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 10 Mar 2016 22:45:25 +0000 >Subject: [PATCH] Bug 16048: Making notices actions buttons > >EDIT: Adding no wrap class to Actions column for when libraries with longer names mess up formatting > >To test: >1) Go to Tools -> Notices and slips (tools/letter.pl) >2) Confirm that all actions (Copy, Edit and Delete) now show as font awesome buttons and work as expected > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 13 +++++-------- > 1 file changed, 5 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >index 1f7ad2b..91f6f10 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >@@ -200,8 +200,7 @@ $(document).ready(function() { > <th>Code</th> > <th>Name</th> > <th>Copy notice</th> >- <th> </th> >- <th> </th> >+ <th>Actions</th> > </tr> > </thead> > <tbody> >@@ -224,18 +223,16 @@ $(document).ready(function() { > [% ELSE %] > [% select_for_copy %] > [% END %] >- <input type="submit" value="Copy" /> >+ <button class="btn btn-mini"><i class="fa fa-clone"></i> Copy</button> > </form> > [% END %] > </td> >- <td> >+ <td style="white-space: nowrap"> > [% IF can_edit %] >- <a href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]">Edit</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-pencil"></i> Edit</a> > [% END %] >- </td> >- <td> > [% IF !lette.protected && can_edit %] >- <a href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&branchcode=[%lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]">Delete</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&branchcode=[%lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-trash"></i> Delete</a> > [% END %] > </td> > </tr> >-- >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 16048
:
48979
|
48980
|
49007
|
49008
|
49010
|
49011