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

(-)a/about.pl (+12 lines)
Lines 70-75 if ( any { /(^psgi\.|^plack\.)/i } keys %ENV ) { Link Here
70
    );
70
    );
71
}
71
}
72
72
73
# Memcached configuration
74
75
my $memcached_servers = $ENV{ MEMCACHED_SERVERS };
76
my $memcached_namespace = $ENV{ MEMCACHED_NAMESPACE };
77
my $memcached_running = C4::Context->ismemcached;
78
79
$template->param(
80
    memcached_servers   => $ENV{ MEMCACHED_SERVERS },
81
    memcached_namespace => $ENV{ MEMCACHED_NAMESPACE },
82
    memcached_running   => C4::Context->ismemcached
83
);
84
73
# Additional system information for warnings
85
# Additional system information for warnings
74
86
75
my $warnStatisticsFieldsError;
87
my $warnStatisticsFieldsError;
(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (+8 lines)
Lines 807-812 fieldset.rows .inputnote { Link Here
807
       color: #cc0000;
807
       color: #cc0000;
808
}
808
}
809
809
810
.status_ok {
811
 background-color: lightgreen;
812
}
813
814
.status_warn {
815
 background-color: red;
816
}
817
810
/* Font Awesome icon */
818
/* Font Awesome icon */
811
.error i {
819
.error i {
812
    color: #CC0000;
820
    color: #CC0000;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-1 / +13 lines)
Lines 51-56 Link Here
51
          [% IF (is_psgi) %]
51
          [% IF (is_psgi) %]
52
            <tr><th scope="row">PSGI: </th><td>[% psgi_server |html %]</td></tr>
52
            <tr><th scope="row">PSGI: </th><td>[% psgi_server |html %]</td></tr>
53
          [% END %]
53
          [% END %]
54
            <tr><th scope="row">Memcached: </th>
55
                <td>Servers: [% IF memcached_servers %][% memcached_servers | html %]
56
                             [% ELSE %]<span>undefined</span>[% END %]|
57
                    Namespace: [% IF memcached_namespace %][% memcached_namespace | html %]
58
                               [% ELSE %]<span>undefined</span>[% END %] |
59
                    Status: [% IF memcached_servers %]
60
                                [% IF memcached_running %]<span class="status_ok">running</span>
61
                                [% ELSE %]<span class="status_warn">not running</span>[% END %]
62
                            [% ELSE %]
63
                                <span>unknown</span>
64
                            [% END %]
65
                </td>
66
            </tr>
54
            <tr><th scope="row">Zebra version: </th><td>[% zebraVersion |html %]</td></tr>
67
            <tr><th scope="row">Zebra version: </th><td>[% zebraVersion |html %]</td></tr>
55
            [% IF (errZebraConnection == 10000) %]
68
            [% IF (errZebraConnection == 10000) %]
56
            <tr><th scope="row"><b>Error</b> </th><td>Zebra server seems not to be available. Is it started?</td></tr>
69
            <tr><th scope="row"><b>Error</b> </th><td>Zebra server seems not to be available. Is it started?</td></tr>
57
- 

Return to bug 17261