@@ -, +, @@ - Go to Tools -> Tags. - In the list of tags pending approval, test approving and rejecting tags, including those containing single or double quotes. - The state of the "Approve" or "Reject" buttons should correctly change according to the action you chose. - The label in the status column should update correctly. - In the "Check lists" form, submitting approved, rejected, and unclassified terms should result in the correct message. --- .../intranet-tmpl/prog/en/modules/tags/review.tt | 216 ++++----------------- .../intranet-tmpl/prog/js/pages/tags-review.js | 162 ++++++++++++++++ tags/review.pl | 9 +- 3 files changed, 201 insertions(+), 186 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt @@ -6,6 +6,23 @@ [% INCLUDE 'datatables.inc' %] [% INCLUDE 'calendar.inc' %] + + -
[% INCLUDE 'header.inc' %] @@ -239,14 +93,14 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }- | + | + | Status | Term | Weight | -Actions | +Actions | [% UNLESS ( filter_approved_pending ) %]Reviewer | [% END %] -Date | +Date | |
---|---|---|---|---|---|---|---|---|---|---|---|
[% offset + loop.count %] | - [% IF ( tagloo.approved == 0 ) %]- [% ELSE %] | [% END %] + [% IF ( tagloo.approved == 0 ) %] | + [% ELSE %] | [% END %] | [% IF ( tagloo.approved == -1 ) %] - Rejected + Rejected [% ELSIF ( tagloo.approved == 1 ) %] - Approved + Approved [% ELSE %] - Pending + Pending [% END %] | -[% tagloo.term %] + | [% tagloo.term|html %] | [% tagloo.weight_total %] | [% IF ( tagloo.approved ) %]@@ -285,8 +139,8 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } [% ELSE %] | [% UNLESS ( filter_approved_pending ) %] | [% END %] @@ -329,7 +183,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } |