Lines 128-139
Link Here
|
128 |
</li> |
128 |
</li> |
129 |
[% FOR field IN additional_fields_for_subscription %] |
129 |
[% FOR field IN additional_fields_for_subscription %] |
130 |
<li> |
130 |
<li> |
131 |
<label for="additional_field_[% field.id %]"> [% field.name %]: </label> |
131 |
<label for="additional_field_[% field.id %]"> [% field.name | html_entity %]: </label> |
132 |
[% IF field.authorised_value_choices %] |
132 |
[% IF field.authorised_value_choices %] |
133 |
<select id="additional_field_[% field.id %]" name="additional_field_[% field.id %]_filter"> |
133 |
<select id="additional_field_[% field.id %]" name="additional_field_[% field.id %]_filter"> |
134 |
<option value="">All</option> |
134 |
<option value="">All</option> |
135 |
[% FOREACH av IN field.authorised_value_choices %] |
135 |
[% FOREACH av IN field.authorised_value_choices %] |
136 |
<option value="[% av.authorised_value %]">[% av.lib %]</option> |
136 |
<option value="[% av.authorised_value %]">[% av.lib | html_entity %]</option> |
137 |
[% END %] |
137 |
[% END %] |
138 |
</select> |
138 |
</select> |
139 |
[% ELSE %] |
139 |
[% ELSE %] |
Lines 170-176
Link Here
|
170 |
<th>Call number</th> |
170 |
<th>Call number</th> |
171 |
<th>Expiration date</th> |
171 |
<th>Expiration date</th> |
172 |
[% FOR field IN additional_fields_for_subscription %] |
172 |
[% FOR field IN additional_fields_for_subscription %] |
173 |
<th>[% field.name %]</th> |
173 |
<th>[% field.name | html_entity %]</th> |
174 |
[% END %] |
174 |
[% END %] |
175 |
[% IF ( routing && CAN_user_serials_routing ) %] |
175 |
[% IF ( routing && CAN_user_serials_routing ) %] |
176 |
<th>Routing list</th> |
176 |
<th>Routing list</th> |
Lines 189-195
Link Here
|
189 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td> |
189 |
<td><input type="text" class="filter" data-column_num="5" placeholder="Search callnumber" /></td> |
190 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search expiration date" /></td> |
190 |
<td><input type="text" class="filter" data-column_num="6" placeholder="Search expiration date" /></td> |
191 |
[% FOR field IN additional_fields_for_subscription %] |
191 |
[% FOR field IN additional_fields_for_subscription %] |
192 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 6 %]" placeholder="Search [% field.name %]" /></td> |
192 |
<td><input type="text" class="filter" data-column_num="[% loop.count + 6 %]" placeholder="Search [% field.name | html_entity %]" /></td> |
193 |
[% END %] |
193 |
[% END %] |
194 |
[% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %] |
194 |
[% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %] |
195 |
<td></td> |
195 |
<td></td> |
Lines 430-444
Link Here
|
430 |
|
430 |
|
431 |
[% FOR field IN additional_fields_for_subscription %] |
431 |
[% FOR field IN additional_fields_for_subscription %] |
432 |
<li> |
432 |
<li> |
433 |
<label for="additional_field_[% field.id %]ID"> [% field.name %]: </label> |
433 |
<label for="additional_field_[% field.id %]ID"> [% field.name | html_entity %]: </label> |
434 |
[% IF field.authorised_value_choices %] |
434 |
[% IF field.authorised_value_choices %] |
435 |
<select id="additional_field_[% field.id %]" name="additional_field_[% field.id %]_filter"> |
435 |
<select id="additional_field_[% field.id %]" name="additional_field_[% field.id %]_filter"> |
436 |
<option value="">All</option> |
436 |
<option value="">All</option> |
437 |
[% FOREACH av IN field.authorised_value_choices %] |
437 |
[% FOREACH av IN field.authorised_value_choices %] |
438 |
[% IF av.authorised_value == additional_field_filters.${field.name}.value %] |
438 |
[% IF av.authorised_value == additional_field_filters.${field.name}.value %] |
439 |
<option value="[% av.authorised_value %]" selected="selected">[% av.lib %]</option> |
439 |
<option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option> |
440 |
[% ELSE %] |
440 |
[% ELSE %] |
441 |
<option value="[% av.authorised_value %]">[% av.lib %]</option> |
441 |
<option value="[% av.authorised_value %]">[% av.lib | html_entity %]</option> |
442 |
[% END %] |
442 |
[% END %] |
443 |
[% END %] |
443 |
[% END %] |
444 |
</select> |
444 |
</select> |