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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-20 / +21 lines)
Lines 91-109 Link Here
91
                                        [% ELSE %]
91
                                        [% ELSE %]
92
                                            <td>
92
                                            <td>
93
                                        [% END %]
93
                                        [% END %]
94
                                                Version:
94
                                                <span>Version:</span>
95
                                                <span>[% elasticsearch_status.version | html %]</span>
95
                                                <span>[% elasticsearch_status.version | html %]</span>
96
                                                |
96
                                                |
97
                                                Nodes:
97
                                                <span>Nodes:</span>
98
                                                <span>[% elasticsearch_status.nodes.join(' / ') | html %]</span>
98
                                                <span>[% elasticsearch_status.nodes.join(' / ') | html %]</span>
99
                                                |
99
                                                |
100
                                                Status:
100
                                                <span>Status:</span>
101
                                            [% IF elasticsearch_status.running %]
101
                                            [% IF elasticsearch_status.running %]
102
                                                <span>running</span>
102
                                                <span>running</span>
103
                                                |
103
                                                |
104
                                                Indices:
104
                                                <span>Indices:</span>
105
                                                [% FOREACH index IN elasticsearch_status.indexes %]
105
                                                [% FOREACH index IN elasticsearch_status.indexes %]
106
                                                    [% index.index_name | html %] (count: <emph>[% index.index_count | html %]</emph>)[% UNLESS loop.last %], [% END %]
106
                                                    [% index.index_name | html %]
107
                                                    (<span>count:</span> <em>[% index.index_count | html %]</em>)
108
                                                    [% UNLESS loop.last %], [% END %]
107
                                                [% END %]
109
                                                [% END %]
108
                                            [% ELSE %]
110
                                            [% ELSE %]
109
                                                <span class="bg-warning">not running</span>
111
                                                <span class="bg-warning">not running</span>
Lines 119-137 Link Here
119
                                [% ELSE %]
121
                                [% ELSE %]
120
                                    <td>
122
                                    <td>
121
                                [% END %]
123
                                [% END %]
122
                                        Servers:
124
                                        <span>Servers:</span>
123
                                        [% IF memcached_servers %]
125
                                        [% IF memcached_servers %]
124
                                            <span>[% memcached_servers | html %]</span>
126
                                            <span>[% memcached_servers | html %]</span>
125
                                        [% ELSE %]
127
                                        [% ELSE %]
126
                                            <span>undefined</span>
128
                                            <span>undefined</span>
127
                                        [% END %] |
129
                                        [% END %] |
128
                                        Namespace:
130
                                        <span>Namespace:</span>
129
                                        [% IF memcached_namespace %]
131
                                        [% IF memcached_namespace %]
130
                                            <span>[% memcached_namespace | html %]</span>
132
                                            <span>[% memcached_namespace | html %]</span>
131
                                        [% ELSE %]
133
                                        [% ELSE %]
132
                                            <span>undefined</span>
134
                                            <span>undefined</span>
133
                                        [% END %] |
135
                                        [% END %] |
134
                                        Status:
136
                                        <span>Status:</span>
135
                                        [% IF memcached_servers %]
137
                                        [% IF memcached_servers %]
136
                                            [% IF memcached_running and is_memcached_still_active %]
138
                                            [% IF memcached_running and is_memcached_still_active %]
137
                                                <span class="bg-success">running</span>.
139
                                                <span class="bg-success">running</span>.
Lines 144-162 Link Here
144
                                        [% ELSE %]
146
                                        [% ELSE %]
145
                                            <span>unknown</span>
147
                                            <span>unknown</span>
146
                                        [% END %] |
148
                                        [% END %] |
147
                                        Config read from:
149
                                        <span>Config read from:</span>
148
                                        [% SWITCH where_is_memcached_config %]
150
                                        [% SWITCH where_is_memcached_config %]
149
                                            [% CASE 'config_only' %]
151
                                            [% CASE 'config_only' %]
150
                                                <span class="bg-success">koha-conf.xml</span>
152
                                                <span class="bg-success">koha-conf.xml</span>
151
                                            [% CASE 'ENV_only' %]
153
                                            [% CASE 'ENV_only' %]
152
                                                <span class="bg-warning">ENV</span> Note that the right place to define the memcached config is in your $KOHA_CONF file
154
                                                <span class="bg-warning">ENV</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file</span>
153
                                            [% CASE 'both' %]
155
                                            [% CASE 'both' %]
154
                                                <span class="bg-warning">ENV and koha-conf.xml</span> Note that the right place to define the memcached config is in your $KOHA_CONF file. To avoid any misunderstanding you should not export the memcached config from ENV.
156
                                                <span class="bg-warning">ENV and koha-conf.xml</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file. To avoid any misunderstanding you should not export the memcached config from ENV.</span>
155
                                            [% CASE # nowhere %]
157
                                            [% CASE # nowhere %]
156
                                                <span class="bg-warning">Nowhere</span> Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined.
158
                                                <span class="bg-warning">Nowhere</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined.</span>
157
                                        [% END %]
159
                                        [% END %]
158
                                    [% IF effective_caching_method != 'Cache::Memcached::Fast::Safe' %]
160
                                    [% IF effective_caching_method != 'Cache::Memcached::Fast::Safe' %]
159
                                        | Effective caching method: [% effective_caching_method | html %]
161
                                        | <span>Effective caching method:</span> [% effective_caching_method | html %]
160
                                    [% END %]
162
                                    [% END %]
161
                                </td>
163
                                </td>
162
                            </tr>
164
                            </tr>
Lines 190-207 Link Here
190
                                [% timezone_config_class = (time_zone.config_invalid) ? 'bg-warning' : '' %]
192
                                [% timezone_config_class = (time_zone.config_invalid) ? 'bg-warning' : '' %]
191
                                [% timezone_env_class    = (time_zone.env_invalid)    ? 'bg-warning' : '' %]
193
                                [% timezone_env_class    = (time_zone.env_invalid)    ? 'bg-warning' : '' %]
192
                                <th scope="row">Time zone: </th>
194
                                <th scope="row">Time zone: </th>
193
                                <td>Used: <span>[% time_zone.actual | html %]</span>
195
                                <td>
196
                                    <span>Used:</span> <span>[% time_zone.actual | html %]</span>
194
                                    [% IF time_zone.actual_bad_tz_fallback %]
197
                                    [% IF time_zone.actual_bad_tz_fallback %]
195
                                        <span>(This is a fallback value due to a bad configuration)</span>
198
                                        <span>(This is a fallback value due to a bad configuration)</span>
196
                                    [% END %]
199
                                    [% END %]
197
                                    |
200
                                    |
198
                                    Config:
201
                                    <span>Config:</span>
199
                                    [% IF time_zone.config != '' %]
202
                                    [% IF time_zone.config != '' %]
200
                                        <span class="[% timezone_config_class | html %]">[% time_zone.config | html %]</span>
203
                                        <span class="[% timezone_config_class | html %]">[% time_zone.config | html %]</span>
201
                                    [% ELSE %]
204
                                    [% ELSE %]
202
                                        <span>Undefined</span>
205
                                        <span>Undefined</span>
203
                                    [% END %] |
206
                                    [% END %] |
204
                                    Environment (TZ):
207
                                    <span>Environment (TZ):</span>
205
                                    [% IF time_zone.environment != '' %]
208
                                    [% IF time_zone.environment != '' %]
206
                                        <span class="[% timezone_env_class | html %]">[% time_zone.environment | html %]</span>
209
                                        <span class="[% timezone_env_class | html %]">[% time_zone.environment | html %]</span>
207
                                    [% ELSE %]
210
                                    [% ELSE %]
Lines 262-269 Link Here
262
                        </table>
265
                        </table>
263
                    [% END # /WRAPPER tab_item perl %]
266
                    [% END # /WRAPPER tab_item perl %]
264
267
265
                    [% IF Asset.css("css/staff-global.css") == ""
268
                    [% IF Asset.css("css/staff-global.css") == "" || Asset.js("js/vue/dist/erm.js") == "" %]
266
                       || Asset.js("js/vue/dist/erm.js") == "" %]
267
                        [% SET warnMissingCompiledFiles = 1 %]
269
                        [% SET warnMissingCompiledFiles = 1 %]
268
                    [% END %]
270
                    [% END %]
269
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
271
                    [% WRAPPER tab_panel tabname= "sysinfo" %]
Lines 570-576 Link Here
570
                                            <th scope="row"><strong>Warning</strong> </th>
572
                                            <th scope="row"><strong>Warning</strong> </th>
571
                                            <td>
573
                                            <td>
572
                                                [% FOR w IN warnHiddenBiblionumbers %]
574
                                                [% FOR w IN warnHiddenBiblionumbers %]
573
                                                    Biblio framework "[% w.frameworkcode | html %]" has the biblionumber field hidden at the interface [% w.interface | html %]<br/>
575
                                                    <span>Biblio framework "[% w.frameworkcode | html %]" has the biblionumber field hidden at the interface [% w.interface | html %]</span><br/>
574
                                                [% END %]
576
                                                [% END %]
575
                                            </td>
577
                                            </td>
576
                                        </tr>
578
                                        </tr>
577
- 

Return to bug 34074