diff --git a/Koha/ILL/Backend/intra-includes/create.inc b/Koha/ILL/Backend/intra-includes/create.inc
index 4ac3e94bb8..67af446b95 100644
--- a/Koha/ILL/Backend/intra-includes/create.inc
+++ b/Koha/ILL/Backend/intra-includes/create.inc
@@ -5,11 +5,11 @@
[% IF whole.status == 'missing_identifier' %]
Please Note: Mandatory field Identifier is missing.
[% ELSIF whole.status == 'missing_branch' %]
-Please Note: Destination library is a mandatory field.
+Please Note: Library is a mandatory field.
[% ELSIF whole.status == 'invalid_borrower' %]
Please Note: The patron details you entered are invalid.
[% ELSIF whole.status == 'invalid_branch' %]
-Please Note: The destination library you chose is invalid.
+Please Note: The library you chose is invalid.
[% ELSE %]
Unhandled error
[% END %]
@@ -87,8 +87,8 @@
-
+
+ Required
@@ -104,6 +104,7 @@
[% END %]
+ Required
diff --git a/Koha/ILL/Backend/intra-includes/migrate.inc b/Koha/ILL/Backend/intra-includes/migrate.inc
index 76db6989be..0fbbe91aab 100644
--- a/Koha/ILL/Backend/intra-includes/migrate.inc
+++ b/Koha/ILL/Backend/intra-includes/migrate.inc
@@ -2,11 +2,11 @@
[% IF whole.status == 'missing_identifier' %]
Please Note: Mandatory field Identifier is missing.
[% ELSIF whole.status == 'missing_branch' %]
-Please Note: Destination library is a mandatory field.
+Please Note: Library is a mandatory field.
[% ELSIF whole.status == 'invalid_borrower' %]
-Please Note: The patron details you entered are invalid.
+Please Note: The patrons details you entered are invalid.
[% ELSIF whole.status == 'invalid_branch' %]
-Please Note: The destination library you chose is invalid.
+Please Note: The library you chose is invalid.
[% ELSE %]
Unhandled error
[% END %]
@@ -20,8 +20,8 @@
-
-
@@ -84,19 +87,20 @@
-
+
+ Required
-
+ xxx
-
+
[% FOREACH branch IN branches %]
[% END %]
+ Required
diff --git a/Koha/ILL/Backend/opac-includes/create.inc b/Koha/ILL/Backend/opac-includes/create.inc
index 3eb9e36093..3e8f5581c4 100644
--- a/Koha/ILL/Backend/opac-includes/create.inc
+++ b/Koha/ILL/Backend/opac-includes/create.inc
@@ -3,15 +3,25 @@
[% PROCESS "${cwd}/shared-includes/form_input_helpers.inc" %]
[% IF whole.error %]
[% IF whole.status == 'missing_identifier' %]
-Please Note: Mandatory field Identifier is missing.
+
+ Please note: Mandatory field Identifier is missing.
+
[% ELSIF whole.status == 'missing_type' %]
-Please Note: Type is a mandatory field.
+
+ Please note: Type is a mandatory field.
+
[% ELSIF whole.status == 'missing_branch' %]
-Please Note: Destination library is a mandatory field.
+
+ Please note: Library is a mandatory field.
+
[% ELSIF whole.status == 'invalid_borrower' %]
-Please Note: The patron details you entered are invalid.
+
+ Please note: The patron details you entered are invalid.
+
[% ELSIF whole.status == 'invalid_branch' %]
-Please Note: The destination library you chose is invalid.
+
+ Please note: The library you chose is invalid.
+
[% ELSE %]
Unhandled error
[% END %]
@@ -25,12 +35,11 @@
[% type = whole.value.other.type %]
@@ -122,4 +128,4 @@
[% INCLUDE "${cwd}/shared-includes/shared.js" %]
// ]]>
-[% END %]
\ No newline at end of file
+[% END %]
diff --git a/Koha/ILL/Backend/shared-includes/form_input_helpers.inc b/Koha/ILL/Backend/shared-includes/form_input_helpers.inc
index 63b42a3482..5ac8be9b86 100644
--- a/Koha/ILL/Backend/shared-includes/form_input_helpers.inc
+++ b/Koha/ILL/Backend/shared-includes/form_input_helpers.inc
@@ -1,25 +1,33 @@
[% BLOCK ill_text_input_field %]
-
- [% IF opac %]
-
- [% ELSE %]
-
- [% END %]
+
+ [% IF opac %]
+
+ [% ELSE %]
+
+ [% END %]
+ [% IF required %]
+ Required
+ [% END %]
+ [% SET required = 0 %]
- [% SET required = 0 %]
[% END %]
[% BLOCK ill_select_field %]
-
- [% IF opac %]
-
- [% ELSE %]
-
- [% END %]
- [% content | $raw %]
-
- [% SET required = 0 %]
+
+
+ [% IF opac %]
+
+ [% ELSE %]
+
+ [% END %]
+ [% content | $raw %]
+
+ [% IF required %]
+ Required
+ [% END %]
+ [% SET required = 0 %]
+
[% END %]
[% BLOCK book_text_input_fields %]
@@ -41,4 +49,4 @@
[% PROCESS ill_text_input_field id = 'issue' label = t('Issue number') value = whole.value.other.issue %]
[% PROCESS ill_text_input_field id = 'year' label = t('Year') value = whole.value.other.year %]
[% PROCESS ill_text_input_field id = 'issn' label = t('ISSN') value = whole.value.other.issn %]
-[% END %]
\ No newline at end of file
+[% END %]
diff --git a/Koha/ILL/Backend/shared-includes/shared.js b/Koha/ILL/Backend/shared-includes/shared.js
index 2e47432afa..12db43984d 100644
--- a/Koha/ILL/Backend/shared-includes/shared.js
+++ b/Koha/ILL/Backend/shared-includes/shared.js
@@ -12,8 +12,9 @@ document.addEventListener('DOMContentLoaded', function() {
( opac ? 'form-control input-fluid custom-field-input' : '') +'" placeholder="'+__('value')+'"> ' +
'';
+ ' ' +
+ __('Delete') +
+ '';
$('#standard-fields').append(row);
});
$('#standard-fields').on('click', '.delete-new-field',
@@ -31,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function() {
$('#standard-fields').on('keyup', '.custom-name', function() {
var val = $(this).val();
if (core.indexOf(val.toLowerCase()) > -1) {
- $('#custom-warning').text(_('The name "' + val + '" is not permitted')).show();
+ $('#custom-warning').text(__('The name "' + val + '" is not permitted')).show();
$('#ill-submit').attr('disabled', true);
$('#add-new-fields').attr('disabled', true);
} else {