Bug 20386: Improve warning and error messages for Search Engine Configuration

This patch updates a warning message and error message in the Search
engine configuration for Elasticsearch.

Note: elasticsearch does not need to be active in order to test.

To test warning message:
 1. go to: cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl
 2. note the warning message
 3. Apply patch
 4. Note the change in warning message. Confirm it makes sense.

To test error message:
  Apply patch and check the changed message in the template file mappings.tt and confirm it makes sense.

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Claire Gravely 2018-03-13 11:18:33 +00:00 committed by Jonathan Druart
parent 57844add80
commit 304e2a8868
1 changed files with 2 additions and 2 deletions

View File

@ -88,11 +88,11 @@ a.add, a.delete {
<h1>Search engine configuration</h1>
<div class="warning">
Warning: Any modification in these configurations will need a total reindexation to be fully taken into account !
Warning: Any changes to the configuration will only take effect after a full reindex. Until then searching may not work correctly.
</div>
[% IF errors %]
<div class="error">
Errors occurred, Modifications does not apply. Please check following values:
Changes have not been applied. Please check the following values:
<ul>
[% FOREACH e IN errors %]
<li>