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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc (-1 / +1 lines)
Lines 122-128 require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr Link Here
122
                            $node.append( '<option value="' + authval.value + '"' + selected + '>' + authval.lib + '</option>' );
122
                            $node.append( '<option value="' + authval.value + '"' + selected + '>' + authval.lib + '</option>' );
123
                        } );
123
                        } );
124
                        if( !matched ){
124
                        if( !matched ){
125
                            $node.append( "<option value='" + value + "' selected='selected'>" + value + " " + _("(Not in authorised values list)") + " " + "</option>" );
125
                            $node.append( "<option value='" + value + "' selected='selected'>" + value + " " + _("(Not an authorised value)") + " " + "</option>" );
126
                        }
126
                        }
127
                        $node.val( this.text );
127
                        $node.val( this.text );
128
128
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-2 / +2 lines)
Lines 126-134 Link Here
126
                        [% END %]
126
                        [% END %]
127
                        [% UNLESS matched || ( ( kohafield == 'items.damaged' || kohafield == 'items.itemlost' || kohafield == 'items.withdrawn' || kohafield == 'items.notforloan' ) && mv.default == '0' ) %]
127
                        [% UNLESS matched || ( ( kohafield == 'items.damaged' || kohafield == 'items.itemlost' || kohafield == 'items.withdrawn' || kohafield == 'items.notforloan' ) && mv.default == '0' ) %]
128
                        [%# If the current value is not in the authorised list  and is not a field where 0 means unset #%]
128
                        [%# If the current value is not in the authorised list  and is not a field where 0 means unset #%]
129
                                <option value="[%- mv.default | html -%]" selected="selected">[%- mv.default | html -%]</option>
129
                                <option value="[%- mv.default | html -%]" selected="selected">[%- mv.default | html -%] (Not an authorised value)</option>
130
                            </select>
130
                            </select>
131
                            <span style="float:right;" title="The current value [% mv.default | html %] is not in the authorised value list"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></span>
131
                            <span style="float:right;" title="The current value [% mv.default | html %] is not configured for the authorised value category controlling this subfield"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
132
                        [% ELSE %]
132
                        [% ELSE %]
133
                            </select>
133
                            </select>
134
                        [% END %]
134
                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-4 / +3 lines)
Lines 1159-1168 function PopupMARCFieldDoc(field) { Link Here
1159
                                                                [% END %]
1159
                                                                [% END %]
1160
1160
1161
                                                            [% END %]
1161
                                                            [% END %]
1162
                                                            [% UNLESS matched # If the current value is not in the authorised list %]
1162
                                                            [% UNLESS matched # If the current value is not in the authorised value list %]
1163
                                                                <option value="[%- mv.default | html -%]" selected="selected">[%- mv.default | html -%]</option>
1163
                                                                <option value="[%- mv.default | html -%]" selected="selected">[%- mv.default | html -%] (Not an authorised value)</option>
1164
                                                            </select>
1164
                                                            </select>
1165
                                                            <span style="float:right;" title="The current value [% mv.default | html %] is not in the authorised value list"><i class="fa fa-exclamation-circle" aria-hidden="true"></i></span>
1165
                                                            <span style="float:right;" title="The current value [% mv.default | html %] is not configured for the authorised value category controlling this subfield"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></span>
1166
                                                            [% ELSE %]
1166
                                                            [% ELSE %]
1167
                                                            </select>
1167
                                                            </select>
1168
                                                            [% END %]
1168
                                                            [% END %]
1169
- 

Return to bug 19361