From 3e5fd265717ff0eb1c5f3cdaf13bef31a40778c9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 11 May 2017 15:02:29 +0000 Subject: [PATCH] Bug 18581 - Add standard edit and delete buttons to suggestions list This patch modifies the table of suggestions in the staff client, moving the edit link to the standard last column and styling it correctly. A delete button is added as well. Unrelated change: I removed the column containing suggestionid because I don't think it's human-relevant information. To test, apply the patch and go to Acquisitions -> Suggestions. - In each tab, the table of suggestions should have an unsorted last column containing "edit" and "delete" links which should be styled correctly and working correctly. - On the detailed view of a suggestion, the "delete" button in the toolbar should still work correctly. --- .../prog/en/modules/suggestion/suggestion.tt | 34 ++++++++++++---------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 62335e8..5fc9d46 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -18,11 +18,11 @@ [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] -[% IF ( op == 'show' ) %] +[% IF ( op == 'show' || op_else ) %]