From 9917d9cad1d9eb7adf9cc40b55693e24dc3cf0e8 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. Signed-off-by: Katrin Fischer Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../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 cbf951b76a..89f92713b8 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 ) %]