View | Details | Raw Unified | Return to bug 34081
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-9 / +9 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% PROCESS 'i18n.inc' %]
4
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
7
<title>[% IF ( do_it ) %]Review[% ELSE %]Review tags[% END %] &rsaquo; Tags &rsaquo; Tools &rsaquo; Koha</title>
Lines 110-124 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
110
                    <td>
111
                    <td>
111
                        [% IF ( tagloo.approved == -1 ) %]
112
                        [% IF ( tagloo.approved == -1 ) %]
112
                            <label for="checkbox[% offset + loop.count | html %]">
113
                            <label for="checkbox[% offset + loop.count | html %]">
113
                                <span class="rejected status[% offset + loop.count | html %]">Rejected</span>
114
                                <span class="rejected status[% offset + loop.count | html %]">[% tp('Tags (single)', 'Rejected') | html %]</span>
114
                            </label>
115
                            </label>
115
                        [% ELSIF ( tagloo.approved == 1 ) %]
116
                        [% ELSIF ( tagloo.approved == 1 ) %]
116
                            <label for="checkbox[% offset + loop.count | html %]">
117
                            <label for="checkbox[% offset + loop.count | html %]">
117
                                <span class="approved status[% offset + loop.count | html %]">Approved</span>
118
                                <span class="approved status[% offset + loop.count | html %]">[% tp('Tags (single)', 'Approved') | html %]</span>
118
                            </label>
119
                            </label>
119
                        [% ELSE %]
120
                        [% ELSE %]
120
                            <label for="checkbox[% offset + loop.count | html %]">
121
                            <label for="checkbox[% offset + loop.count | html %]">
121
                                <span class="pending status[% offset + loop.count | html %]">Pending</span>
122
                                <span class="pending status[% offset + loop.count | html %]">[% tp('Tags (single)', 'Pending') | html %]</span>
122
                            </label>
123
                            </label>
123
                        [% END %]
124
                        [% END %]
124
                    </td>
125
                    </td>
Lines 130-138 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
130
                    <td class="actions"><span class="ajax_buttons" style="visibility:hidden">
131
                    <td class="actions"><span class="ajax_buttons" style="visibility:hidden">
131
                        [% IF ( tagloo.approved == -1 ) %]
132
                        [% IF ( tagloo.approved == -1 ) %]
132
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn ok btn btn-default btn-xs" type="submit" title="[% tagloo.term | html %]" value="Approve" name="approve"><i class="fa fa-check"></i> Approve</button>
133
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn ok btn btn-default btn-xs" type="submit" title="[% tagloo.term | html %]" value="Approve" name="approve"><i class="fa fa-check"></i> Approve</button>
133
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn rej btn btn-default btn-xs" disabled="disabled" type="submit" title="[% tagloo.term | html %]" value="Rejected" name="reject"><i class="fa fa-times"></i> Rejected</button>
134
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn rej btn btn-default btn-xs" disabled="disabled" type="submit" title="[% tagloo.term | html %]" value="Rejected" name="reject"><i class="fa fa-times"></i> [% tp('Tags (single)', 'Rejected') | html %]</button>
134
                        [% ELSE %]
135
                        [% ELSE %]
135
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn ok btn btn-default btn-xs"  disabled="disabled" type="submit" title="[% tagloo.term | html %]" value="Approved" name="approve"><i class="fa fa-check"></i> Approved</button>
136
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn ok btn btn-default btn-xs"  disabled="disabled" type="submit" title="[% tagloo.term | html %]" value="Approved" name="approve"><i class="fa fa-check"></i> [% tp('Tags (single)', 'Approved') | html %]</button>
136
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn rej btn btn-default btn-xs" type="submit" title="[% tagloo.term | html %]" value="Reject" name="reject"><i class="fa fa-times"></i> Reject</button>
137
                            <button data-num="[% offset + loop.count | html %]" class="approval_btn rej btn btn-default btn-xs" type="submit" title="[% tagloo.term | html %]" value="Reject" name="reject"><i class="fa fa-times"></i> Reject</button>
137
                        [% END %]
138
                        [% END %]
138
                        </span>
139
                        </span>
Lines 167-179 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
167
 <fieldset class="brief">
168
 <fieldset class="brief">
168
  <h4>Terms summary</h4>
169
  <h4>Terms summary</h4>
169
  <ul>
170
  <ul>
170
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved</a>:
171
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">[% tp('Tags (multiple)', 'Approved') | html %]</a>:
171
        <span id="terms_summary_approved_count">[% approved_count | html %]</span>
172
        <span id="terms_summary_approved_count">[% approved_count | html %]</span>
172
        </li>
173
        </li>
173
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected</a>:
174
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">[% tp('Tags (multiple)', 'Rejected') | html %]</a>:
174
        <span id="terms_summary_rejected_count">[% rejected_count | html %]</span>
175
        <span id="terms_summary_rejected_count">[% rejected_count | html %]</span>
175
    </li>
176
    </li>
176
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending</a>:
177
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">[% tp('Tags (multiple)', 'Pending') | html %]</a>:
177
    <span id="terms_summary_unapproved_count">[% unapproved_count | html %]</span>
178
    <span id="terms_summary_unapproved_count">[% unapproved_count | html %]</span>
178
    </li>
179
    </li>
179
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">Total</a>:
180
    <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">Total</a>:
180
- 

Return to bug 34081