From 032e0b1c875ba83920880328b22b955f03030d14 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 Content-Type: text/plain; charset=utf-8 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 --- .../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 cbf951b..89f9271 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 ) %]