diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
index 23b3bb0b76..6cf42ab14d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
@@ -98,64 +98,68 @@
+ [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron ||
+ warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size %]
[% IF (warnIsRootUser) %]
Warning regarding current user
You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.
Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.
[% END %]
-
Warnings regarding the system configuration
+
[% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron ||
warnNoActiveCurrency || QueryParserError %]
-
- Preferences and parameters
- [% IF (warnPrefBiblioAddsAuthorities) %]
- | Warning | System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well. |
- [% END %]
- [% IF (warnPrefEasyAnalyticalRecords) %]
- | Warning | System preference 'EasyAnalyticalRecords' set, but UseControlNumber preference is set to 'Use'. Set it to 'Don't use' or else the 'Show analytics' links in the staff client and the OPAC will be broken. |
- [% END %]
- [% IF warnPrefAnonymousPatron %]
- | Warning | System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly. |
- [% END %]
- [% IF warnNoActiveCurrency %]
- | Warning | No active currency is defined. Please go to Administration > Currencies and exchange rates and mark one currency as active. |
- [% END %]
- [% IF QueryParserError %]
- | Warning |
- You have set UseQueryParser but there was a problem inititializing QueryParser.
- [% IF QueryParserError.fallback %]
- The 'queryparser_config' entry is missing in your configuration file.
- [% QueryParserError.file %] was used instead without success.
- [% ELSE %]
- The following configuration file was used without success: [% QueryParserError.file %].
+ Warnings regarding the system configuration
+
+ Preferences and parameters
+ [% IF (warnPrefBiblioAddsAuthorities) %]
+ | Warning | System preference 'AutoCreateAuthorities' set, but needs 'BiblioAddsAuthorities' set as well. |
[% END %]
+ [% IF (warnPrefEasyAnalyticalRecords) %]
+ | Warning | System preference 'EasyAnalyticalRecords' set, but UseControlNumber preference is set to 'Use'. Set it to 'Don't use' or else the 'Show analytics' links in the staff client and the OPAC will be broken. |
+ [% END %]
+ [% IF warnPrefAnonymousPatron %]
+ | Warning | System preference 'OPACPrivacy' set, but AnonymousPatron preference is set to '0'. Set it to a valid borrower number if you want that this feature works correctly. |
+ [% END %]
+ [% IF warnNoActiveCurrency %]
+ | Warning | No active currency is defined. Please go to Administration > Currencies and exchange rates and mark one currency as active. |
+ [% END %]
+ [% IF QueryParserError %]
+ | Warning |
+ You have set UseQueryParser but there was a problem inititializing QueryParser.
+ [% IF QueryParserError.fallback %]
+ The 'queryparser_config' entry is missing in your configuration file.
+ [% QueryParserError.file %] was used instead without success.
+ [% ELSE %]
+ The following configuration file was used without success: [% QueryParserError.file %].
+ [% END %]
+ |
+
+ [% END %]
+
+ [% END %]
+
+ [% IF xml_config_warnings.size %]
+
+ XML configuration file
+ [% FOREACH config_entry IN xml_config_warnings %]
+ [% IF config_entry.error == 'zebra_bib_index_mode_warn' %]
+ | Warning | The <zebra_bib_index_mode> entry is missing in your configuration file. It should be set to dom or grs1. It will default to grs1 but this could change in the future. |
+ [% ELSIF config_entry.error == 'zebra_auth_index_mode_warn' %]
+ | Warning | The <zebra_auth_index_mode> entry is missing in your configuration file. It should be set to dom or grs1. It will default to dom but this could change in the future. |
+ [% ELSIF config_entry.error == 'queryparser_entry_missing' %]
+
+ | Warning |
+ You have set UseQueryParser but the 'queryparser_config' entry is missing in your configuration
+ file. [% config_entry.file %] is used as a fallback.
|
+ [% END %]
[% END %]
-
-
- [% END %]
- [% IF xml_config_warnings.size %]
-
- XML configuration file
- [% FOREACH config_entry IN xml_config_warnings %]
- [% IF config_entry.error == 'zebra_bib_index_mode_warn' %]
- | Warning | The <zebra_bib_index_mode> entry is missing in your configuration file. It should be set to dom or grs1. It will default to grs1 but this could change in the future. |
- [% ELSIF config_entry.error == 'zebra_auth_index_mode_warn' %]
- | Warning | The <zebra_auth_index_mode> entry is missing in your configuration file. It should be set to dom or grs1. It will default to dom but this could change in the future. |
- [% ELSIF config_entry.error == 'queryparser_entry_missing' %]
-
- | Warning |
- You have set UseQueryParser but the 'queryparser_config' entry is missing in your configuration
- file. [% config_entry.file %] is used as a fallback.
- |
-
- [% END %]
- [% END %]
-
- [% ELSE %]
- No warnings
+ |
|---|
[% END %]
+ [% ELSE %]
+
No warnings.
+ [% END %]