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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-6 / +5 lines)
Lines 89-100 $(document).ready(function() { Link Here
89
            <li>
89
            <li>
90
                <span class="label">Category</span>
90
                <span class="label">Category</span>
91
                <input type="hidden" name="op" value="add" />
91
                <input type="hidden" name="op" value="add" />
92
                <input type="hidden" name="category" value="[% category %]" /> [% category %]
92
                <input type="hidden" name="category" value="[% category | html %]" /> [% category | html %]
93
            </li>
93
            </li>
94
        <li>
94
        <li>
95
            <label for="authorised_value">Authorized value: </label>
95
            <label for="authorised_value">Authorized value: </label>
96
            [% IF ( action_modify ) %]<input type="hidden" id="id" name="id" value="[% id %]" />[% END %]
96
            [% IF ( action_modify ) %]<input type="hidden" id="id" name="id" value="[% id %]" />[% END %]
97
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value %]" maxlength="80" class="focus" />
97
            <input type="text" id="authorised_value" name="authorised_value" value="[% authorised_value | html %]" maxlength="80" class="focus" />
98
        </li>
98
        </li>
99
        <li>
99
        <li>
100
            <label for="lib">Description: </label>
100
            <label for="lib">Description: </label>
Lines 156-162 $(document).ready(function() { Link Here
156
        [% END %]
156
        [% END %]
157
        </fieldset>
157
        </fieldset>
158
       <fieldset class="action"> <input type="hidden" name="id" value="[% id %]" />
158
       <fieldset class="action"> <input type="hidden" name="id" value="[% id %]" />
159
        <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category %]">Cancel</a></fieldset>
159
        <input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category | url %]">Cancel</a></fieldset>
160
    </form>
160
    </form>
161
[% END %]
161
[% END %]
162
162
Lines 164-170 $(document).ready(function() { Link Here
164
[% IF op == 'list' %]
164
[% IF op == 'list' %]
165
165
166
<div id="toolbar" class="btn-toolbar">
166
<div id="toolbar" class="btn-toolbar">
167
    <a id="addauth" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;category=[% category %]"><i class="fa fa-plus"> </i> New authorized value for [% category |html %]</a>
167
    <a id="addauth" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form&amp;category=[% category | url %]"><i class="fa fa-plus"> </i> New authorized value for [% category |html %]</a>
168
    <a id="addcat" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a>
168
    <a id="addcat" class="btn btn-default btn-sm" href= "/cgi-bin/koha/admin/authorised_values.pl?op=add_form"><i class="fa fa-plus"> </i> New category</a>
169
</div>
169
</div>
170
170
Lines 271-277 $(document).ready(function() { Link Here
271
[% ELSE %]
271
[% ELSE %]
272
<tr>
272
<tr>
273
[% END %]
273
[% END %]
274
	<td>[% loo.authorised_value %]</td>
274
	<td>[% loo.authorised_value | html %]</td>
275
    <td>[% loo.lib |html %]</td>
275
    <td>[% loo.lib |html %]</td>
276
    <td>[% loo.lib_opac |html %]</td>
276
    <td>[% loo.lib_opac |html %]</td>
277
	<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
277
	<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
278
- 

Return to bug 19128