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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/select2.inc (+3 lines)
Lines 42-47 Link Here
42
      var n = input.length - max;
42
      var n = input.length - max;
43
      return _("Please delete %d character(s)").format(n);
43
      return _("Please delete %d character(s)").format(n);
44
    },
44
    },
45
    formatResult: function(item) {
46
        return $('<div>', {title: item.element[0].title}).text(item.text);
47
    },
45
    formatSelectionTooBig: function (limit) {
48
    formatSelectionTooBig: function (limit) {
46
      return _("You can only select %s item(s)").format(limit);
49
      return _("You can only select %s item(s)").format(limit);
47
    },
50
    },
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-11 / +1 lines)
Lines 108-115 Link Here
108
                                <option value="">Choose</option>
108
                                <option value="">Choose</option>
109
                                [% FOREACH itemlostloo IN itemlostloop %]
109
                                [% FOREACH itemlostloo IN itemlostloop %]
110
                                    [% IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %]
110
                                    [% IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %]
111
                                        [% SET add_claims_returned_tip = itemlostloo.lib %]
111
                                        <option value="[% itemlostloo.authorised_value | html %]" disabled="disabled" title="At least one item is available at this library">[% itemlostloo.lib | html %]</option>
112
                                        <option value="[% itemlostloo.authorised_value | html %]" disabled="disabled">[% itemlostloo.lib | html %]</option>
113
                                    [% ELSIF itemlostloo.authorised_value == ITEM_DAT.itemlost %]
112
                                    [% ELSIF itemlostloo.authorised_value == ITEM_DAT.itemlost %]
114
                                        <option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option>
113
                                        <option value="[% itemlostloo.authorised_value | html %]" selected="selected">[% itemlostloo.lib | html %]</option>
115
                                    [% ELSE %]
114
                                    [% ELSE %]
Lines 120-131 Link Here
120
                            <input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" />
119
                            <input type="hidden" name="withdrawn" value="[% ITEM_DAT.withdrawn | html %]" />
121
                            <input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" />
120
                            <input type="hidden" name="damaged" value="[% ITEM_DAT.damaged | html %]" />
122
121
123
                            [% IF add_claims_returned_tip %]
124
                                <i class="fa fa-question-circle" data-toggle="tooltip"
125
                                   title="The value '[% add_claims_returned_tip | html %]' cannot be selected. Return claims must be processed from the patron details page."
126
                                   data-placement="right"></i>
127
                            [% END %]
128
129
                            [% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %]
122
                            [% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %]
130
                                <input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/>
123
                                <input type="submit" name="submit" class="submit" value="Set status" disabled="disabled"/>
131
                                <p class="help-block">Item has been claimed as returned.</p>
124
                                <p class="help-block">Item has been claimed as returned.</p>
Lines 312-320 Link Here
312
    <script>
305
    <script>
313
        var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
306
        var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
314
        browser.show();
307
        browser.show();
315
        $( document ).ready(function() {
316
            $('[data-toggle="tooltip"]').tooltip();
317
        });
318
    </script>
308
    </script>
319
[% END %]
309
[% END %]
320
[% INCLUDE 'intranet-bottom.inc' %]
310
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-10 / +1 lines)
Lines 167-187 Link Here
167
                        <option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option>
167
                        <option value="[%- aval | html -%]" selected="selected">[%- mv.labels.$aval | html -%]</option>
168
                        [% ELSE %]
168
                        [% ELSE %]
169
                            [% IF ite.IS_LOST_AV && aval == Koha.Preference("ClaimReturnedLostValue") %]
169
                            [% IF ite.IS_LOST_AV && aval == Koha.Preference("ClaimReturnedLostValue") %]
170
                                [% SET add_claims_returned_tip = mv.labels.$aval %]
170
                                <option disabled="disabled" value="[%- aval | html -%]" title="Return claims must be processed from the patron details page">[%- mv.labels.$aval | html -%]</option>
171
                                <option disabled="disabled" value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option>
172
                            [%  ELSE %]
171
                            [%  ELSE %]
173
                                <option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option>
172
                                <option value="[%- aval | html -%]">[%- mv.labels.$aval | html -%]</option>
174
                            [% END %]
173
                            [% END %]
175
                        [% END %]
174
                        [% END %]
176
                    [% END %]
175
                    [% END %]
177
                    </select>
176
                    </select>
178
179
                    [% IF ite.IS_LOST_AV && add_claims_returned_tip %]
180
                        &nbsp;
181
                        <i class="fa fa-question-circle" data-toggle="tooltip"
182
                           title="The value '[% add_claims_returned_tip | html %]' cannot be selected. Return claims must be processed from the patron details page."
183
                           data-placement="right"></i>
184
                    [% END %]
185
                [% ELSIF ( mv.type == 'text_auth' ) %]
177
                [% ELSIF ( mv.type == 'text_auth' ) %]
186
                    [% IF mv.readonly %]
178
                    [% IF mv.readonly %]
187
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
179
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
188
- 

Return to bug 24279