diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 309b9c69ac..136f67cc11 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -114,10 +114,9 @@ [% elasticsearch_fatal_config_error | html %] [% ELSE %] [% IF elasticsearch_status.running %] - - [% ELSE %] - + [% SET td_class="text-bg-info"%] [% END %] + Version: [% elasticsearch_status.version | html %] | @@ -144,10 +143,9 @@ Memcached: [% IF memcached_running AND is_memcached_still_active AND where_is_memcached_config == 'config_only' %] - - [% ELSE %] - + [% SET td_class="text-bg-info"%] [% END %] + Servers: [% IF memcached_servers %] [% memcached_servers | html %] @@ -252,27 +250,26 @@ [% FOREACH tabl IN table %] [% FOREACH ro IN tabl.row %] - [% IF ( ro.current ) %] - [% IF ( ro.require ) %] - - [% ELSE %] - - [% END %] - [% ELSIF ( ro.upgrade ) %] - [% IF ( ro.require ) %] - - [% ELSE %] - - [% END %] + [% IF ( ro.require ) %] + [% SET th_font_weight = "bold" %] [% ELSE %] - [% IF ( ro.name == '' ) %] - - [% ELSIF ( ro.require ) %] - - [% ELSE %] - + [% SET th_font_weight = "normal" %] + [% END %] + [% IF ( ro.current ) %] + [% SET th_title = t("Module current") %] + [% ELSIF ( ro.upgrade ) %] + [% SET th_background_color = "#FFCB2F" %] + [% SET th_title = t("Module upgrade needed") %] + [% ELSE %] + [% IF ( ro.require ) %] + [% SET th_background_color = "#FF8A8A" %] + [% SET th_title = t("Required module missing") %] + [% ELSIF ( ro.name != '' ) %] + [% SET th_background_color = "#FF8A8A" %] + [% SET th_title = t("Optional module missing") %] [% END %] [% END # /IF ro.current %] + [% IF ( ro.name ) %] [% ro.name | html %] @@ -283,13 +280,12 @@ [% END %] [% IF ( ro.name == '' ) %] - + [% ELSIF ( ro.version ) %] - [% ro.version | html %] + [% ro.version | html %] [% ELSE %] - Not Installed + Not Installed [% END %] - [% END # /FOREACH ro %] [% END # /FOREACH tabl %] @@ -491,7 +487,8 @@ [% IF warnPrefOpacHiddenItems %] Warning - System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %] + System preference 'OpacHiddenItems' generates a warning and will produce unexpected behaviors: [% warnPrefOpacHiddenItems | html %] + [% END %] [% IF warnPrefPatronSelfRegistrationDefaultCategory %] Warning System preference 'PatronSelfRegistration' is set, but 'PatronSelfRegistrationDefaultCategory' does not contain a valid patron category code. Patron self-registration is disabled.