From 895e82531f23c082fa5b0a9ec2be042365970616 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Jul 2024 11:35:25 +0000 Subject: [PATCH] Bug 37243: Tag moderation actions should be in the last column This patch updates the tag review template to make the "actions" column the last one in the table. This makes it consistent with other pages in Koha. To test you should have TagsEnabled turned on and at least one pending tag in the system. - Go to Tools -> Tags. - Confirm that the "Approve" and "Reject" buttons are in the last column of the table. - Approve a tag and click the "Approved" link the the "Terms summary" box in the right-hand sidebar. - In this view the table has a "Reviewer" column visible. The buttons should still be in the last column. Sponsored-by: Athens County Public Libraries Signed-off-by: Chris Cormack --- .../prog/en/modules/tags/review.tt | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt index e6114cfb5bf..791db2fe4dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -134,9 +134,9 @@ Status Term Weight - Actions - [% UNLESS ( filter_approved_pending ) %]Reviewer[% END %] Date + [% UNLESS ( filter_approved_pending ) %]Reviewer[% END %] + Actions @@ -172,7 +172,15 @@ [% tagloo.weight_total | html %] + + [% tagloo.date_approved | $KohaDates %] + [% IF ( tagloo.approved ) %] + + [% IF ( tagloo.approved_by_name ) %] + [% tagloo.approved_by_name | html %] + [% END %] + - - [% IF ( tagloo.approved_by_name ) %] - [% tagloo.approved_by_name | html %] - [% END %] - + [% ELSE %]