Lines 88-165
tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; }
Link Here
|
88 |
</div> |
88 |
</div> |
89 |
[% END %] |
89 |
[% END %] |
90 |
[% IF ( tagloop ) %] |
90 |
[% IF ( tagloop ) %] |
91 |
<p class="check"></p> |
91 |
<div class="page-section"> |
92 |
<table id="tagst"> |
92 |
<p class="check"></p> |
93 |
<thead> |
93 |
<table id="tagst"> |
94 |
<tr> |
94 |
<thead> |
95 |
<th class="NoSort"> </th> |
95 |
<tr> |
96 |
<th>Status</th> |
96 |
<th class="NoSort"> </th> |
97 |
<th>Term</th> |
97 |
<th>Status</th> |
98 |
<th>Weight</th> |
98 |
<th>Term</th> |
99 |
<th class="NoSort noExport">Actions</th> |
99 |
<th>Weight</th> |
100 |
[% UNLESS ( filter_approved_pending ) %]<th>Reviewer</th>[% END %] |
100 |
<th class="NoSort noExport">Actions</th> |
101 |
<th>Date</th> |
101 |
[% UNLESS ( filter_approved_pending ) %]<th>Reviewer</th>[% END %] |
102 |
</tr> |
102 |
<th>Date</th> |
103 |
</thead> |
103 |
</tr> |
104 |
<tbody> |
104 |
</thead> |
105 |
[% FOREACH tagloo IN tagloop %] |
105 |
<tbody> |
106 |
<tr> |
106 |
[% FOREACH tagloo IN tagloop %] |
107 |
<td> |
107 |
<tr> |
108 |
[% IF ( tagloo.approved == 0 ) %] |
108 |
<td> |
109 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="pending" /> |
109 |
[% IF ( tagloo.approved == 0 ) %] |
110 |
[% ELSIF ( tagloo.approved == 1 ) %] |
110 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="pending" /> |
111 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="approved" /> |
111 |
[% ELSIF ( tagloo.approved == 1 ) %] |
112 |
[% ELSE %] |
112 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="approved" /> |
113 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="rejected" /> |
113 |
[% ELSE %] |
114 |
[% END %] |
114 |
<input id="checkbox[% offset + loop.count | html %]" type="checkbox" value="[% tagloo.term | html %]" name="tags" class="rejected" /> |
115 |
</td> |
115 |
[% END %] |
116 |
<td> |
116 |
</td> |
117 |
[% IF ( tagloo.approved == -1 ) %] |
117 |
<td> |
118 |
<label for="checkbox[% offset + loop.count | html %]"> |
118 |
[% IF ( tagloo.approved == -1 ) %] |
119 |
<span class="rejected status[% offset + loop.count | html %]">Rejected</span> |
119 |
<label for="checkbox[% offset + loop.count | html %]"> |
120 |
</label> |
120 |
<span class="rejected status[% offset + loop.count | html %]">Rejected</span> |
121 |
[% ELSIF ( tagloo.approved == 1 ) %] |
121 |
</label> |
122 |
<label for="checkbox[% offset + loop.count | html %]"> |
122 |
[% ELSIF ( tagloo.approved == 1 ) %] |
123 |
<span class="approved status[% offset + loop.count | html %]">Approved</span> |
123 |
<label for="checkbox[% offset + loop.count | html %]"> |
124 |
</label> |
124 |
<span class="approved status[% offset + loop.count | html %]">Approved</span> |
125 |
[% ELSE %] |
125 |
</label> |
126 |
<label for="checkbox[% offset + loop.count | html %]"> |
126 |
[% ELSE %] |
127 |
<span class="pending status[% offset + loop.count | html %]">Pending</span> |
127 |
<label for="checkbox[% offset + loop.count | html %]"> |
128 |
</label> |
128 |
<span class="pending status[% offset + loop.count | html %]">Pending</span> |
129 |
[% END %] |
129 |
</label> |
130 |
</td> |
130 |
[% END %] |
131 |
<td><a href="/cgi-bin/koha/tags/list.pl?tag=[% tagloo.term|uri %]">[% tagloo.term | html %]</a> |
131 |
</td> |
132 |
</td> |
132 |
<td><a href="/cgi-bin/koha/tags/list.pl?tag=[% tagloo.term|uri %]">[% tagloo.term | html %]</a> |
133 |
<td>[% tagloo.weight_total | html %] |
133 |
</td> |
134 |
</td> |
134 |
<td>[% tagloo.weight_total | html %] |
135 |
[% IF ( tagloo.approved ) %] |
135 |
</td> |
136 |
<td class="actions"><span class="ajax_buttons" style="visibility:hidden"> |
136 |
[% IF ( tagloo.approved ) %] |
137 |
[% IF ( tagloo.approved == -1 ) %] |
137 |
<td class="actions"><span class="ajax_buttons" style="visibility:hidden"> |
138 |
<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> |
138 |
[% IF ( tagloo.approved == -1 ) %] |
139 |
<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-remove"></i> Rejected</button> |
139 |
<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> |
140 |
[% ELSE %] |
140 |
<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-remove"></i> Rejected</button> |
141 |
<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> |
141 |
[% ELSE %] |
142 |
<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-remove"></i> Reject</button> |
142 |
<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> |
143 |
[% END %] |
143 |
<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-remove"></i> Reject</button> |
144 |
</span> |
144 |
[% END %] |
145 |
</td> |
145 |
</span> |
146 |
<td>[% IF ( tagloo.approved_by_name ) %]<a href="/cgi-bin/koha/tags/review.pl?approved_by=[% tagloo.approved_by | uri %]&approved=all">[% tagloo.approved_by_name | html %]</a>[% ELSE %] [% END %] |
146 |
</td> |
147 |
</td> |
147 |
<td>[% IF ( tagloo.approved_by_name ) %]<a href="/cgi-bin/koha/tags/review.pl?approved_by=[% tagloo.approved_by | uri %]&approved=all">[% tagloo.approved_by_name | html %]</a>[% ELSE %] [% END %] |
148 |
[% ELSE %] |
148 |
</td> |
149 |
<td class="actions"><span class="ajax_buttons" style="visibility:hidden"> |
149 |
[% ELSE %] |
150 |
<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> |
150 |
<td class="actions"><span class="ajax_buttons" style="visibility:hidden"> |
151 |
<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-remove"></i> Reject</button> |
151 |
<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> |
152 |
</span> |
152 |
<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-remove"></i> Reject</button> |
153 |
</td> |
153 |
</span> |
154 |
[% UNLESS ( filter_approved_pending ) %]<td> </td>[% END %] |
154 |
</td> |
|
|
155 |
[% UNLESS ( filter_approved_pending ) %]<td> </td>[% END %] |
156 |
[% END %] |
157 |
<td data-order="[% tagloo.date_approved | html %]"> |
158 |
[% tagloo.date_approved | $KohaDates %] |
159 |
</td> |
160 |
</tr> |
155 |
[% END %] |
161 |
[% END %] |
156 |
<td data-order="[% tagloo.date_approved | html %]"> |
162 |
</tbody> |
157 |
[% tagloo.date_approved | $KohaDates %] |
163 |
</table> |
158 |
</td> |
164 |
</div> <!-- /.page-section --> |
159 |
</tr> |
|
|
160 |
[% END %] |
161 |
</tbody> |
162 |
</table> |
163 |
[% END %] |
165 |
[% END %] |
164 |
[% IF ( tagloop ) %]<fieldset class="action"> |
166 |
[% IF ( tagloop ) %]<fieldset class="action"> |
165 |
<button type="submit" value="Approve" class="btn btn-default" id="approve_button" name="op-approve"><i class="fa fa-check"></i> Approve</button> |
167 |
<button type="submit" value="Approve" class="btn btn-default" id="approve_button" name="op-approve"><i class="fa fa-check"></i> Approve</button> |
166 |
- |
|
|