Browse Source

Bug 16360: Adding 'actions' class to column in tag review so buttons don't wrap

EDIT: Comment 3

Note: the wrapping only happens when all tags have been approved (or all
rejected), i.e. column has a certain width. When testing, ensure all
tags have been approved or rejected and click the opposite
action to see the effect of the bug and the patch.

To test:
1) Go to Tools -> Tags
2) Click Reject for a tag
3) Notice buttons do not wrap

Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
16.05.x
Aleisha 8 years ago
committed by Kyle M Hall
parent
commit
772ad7e483
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt

@ -251,7 +251,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
<td>[% tagloo.weight_total %]
</td>
[% IF ( tagloo.approved ) %]
<td><span class="ajax_buttons" style="visibility:hidden">
<td class="actions"><span class="ajax_buttons" style="visibility:hidden">
[% IF ( tagloo.approved == -1 ) %]
<input class="ok" type="submit" title="[% tagloo.term %]" value="Approve" name="approve" />
<input class="rej" disabled="disabled" type="submit" title="[% tagloo.term %]" value="Rejected" name="reject" />
@ -264,7 +264,7 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
<td>[% IF ( tagloo.approved_by_name ) %]<a href="/cgi-bin/koha/tags/review.pl?approved_by=[% tagloo.approved_by %]&amp;approved=all">[% tagloo.approved_by_name %]</a>[% ELSE %]&nbsp;[% END %]
</td>
[% ELSE %]
<td><span class="ajax_buttons" style="visibility:hidden">
<td class="actions"><span class="ajax_buttons" style="visibility:hidden">
<input class="ok" type="submit" title="[% tagloo.term %]" value="Approve" name="approve" />
<input class="rej" type="submit" title="[% tagloo.term %]" value="Reject" name="reject" />
</span>

Loading…
Cancel
Save