From 97293616e5657c654bb908738479711b2c37ced0 Mon Sep 17 00:00:00 2001 From: Aleisha 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 Signed-off-by: Owen Leonard I have a couple of corrections in a follow-up. Signed-off-by: Jonathan Druart --- 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() { Code Name Copy notice -   -   + Actions @@ -224,18 +223,16 @@ $(document).ready(function() { [% ELSE %] [% select_for_copy %] [% END %] - + [% END %] - + [% IF can_edit %] - Edit + Edit [% END %] - - [% IF !lette.protected && can_edit %] - Delete + Delete [% END %] -- 2.7.0