Bug 17808: Fix behavior when editing a circ rule
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / about.tt
index adea4f3..0bad9d1 100644 (file)
@@ -1,14 +1,7 @@
+[% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; About Koha</title>
 [% INCLUDE 'doc-head-close.inc' %]
-<script type="text/javascript">
-//<![CDATA[
-
-     $(document).ready(function() {
-        $('#abouttabs').tabs();
-     });
-//]]>
-</script>
 </head>
 <body id="about_about" class="about">
 [% INCLUDE 'header.inc' %]
             <tr><th scope="row">PSGI: </th><td>[% psgi_server |html %]</td></tr>
           [% END %]
             <tr><th scope="row">Memcached: </th>
-                <td>Servers: [% IF memcached_servers %][% memcached_servers | html %]
-                             [% ELSE %]<span>undefined</span>[% END %]|
-                    Namespace: [% IF memcached_namespace %][% memcached_namespace | html %]
+                <td>
+                    Servers: [% IF memcached_servers %]<span>[% memcached_servers | html %]</span>
+                             [% ELSE %]<span>undefined</span>[% END %] |
+                    Namespace: [% IF memcached_namespace %]<span>[% memcached_namespace | html %]</span>
                                [% ELSE %]<span>undefined</span>[% END %] |
                     Status: [% IF memcached_servers %]
-                                [% IF memcached_running %]<span class="status_ok">running</span>
-                                [% ELSE %]<span class="status_warn">not running</span>[% END %]
+                                [% IF memcached_running and is_memcached_still_active %]
+                                    <span class="status_ok">running</span>.
+                                [% ELSE %]
+                                    <span class="status_warn">not running</span>.
+                                    [% IF is_psgi %]
+                                        <span>Remember memcached needs to be started before Plack.</span>
+                                    [% END %]
+                                [% END %]
                             [% ELSE %]
                                 <span>unknown</span>
-                            [% END %]
+                            [% END %] |
+                    Config read from:
+                    [% SWITCH where_is_memcached_config %]
+                        [% CASE 'config_only' %]
+                            <span class="status_ok">koha-conf.xml</span>
+                        [% CASE 'ENV_only' %]
+                            <span class="status_warn">ENV</span> Note that the right place to define the memcached config is in your $KOHA_CONF file
+                        [% CASE 'both' %]
+                            <span class="status_warn">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.
+                        [% CASE # nowhere %]
+                            <span class="status_warn">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.
+                    [% END %]
+                  [% IF effective_caching_method != 'Cache::Memcached::Fast' %]
+                    | Effective caching method: [% effective_caching_method %]
+                  [% END %]
                 </td>
             </tr>
             <tr><th scope="row">Zebra version: </th><td>[% zebraVersion |html %]</td></tr>
                 <li>Rachel Dustin</li>
                 <li>Ecole des Mines de Saint Etienne, Philippe Jaillon (OAI-PMH support)</li>
                 <li>Stephen Edwards</li>
+                <li>Dani Elder</li>
                 <li>Gus Ellerm</li>
                 <li>Andrew Elwell</li>
                 <li>Brian Engard</li>
                 <li>Christopher Hyde</li>
                 <li>Rolando Isidoro</li>
                 <li>Cory Jaeger</li>
+                <li>Lee Jamison</li>
                 <li>Srdjan Jankovic</li>
                 <li>Philippe Jaillon</li>
                 <li><a href="https://www.openhub.net/accounts/kohaaloha">Mason James (3.10 - 3.14 QA Team Member, 3.16 Release Maintainer)</a></li>
                 <li>Jorgia Kelsey</li>
                 <li>Olli-Antti Kivilahti</li>
                 <li>Attila Kinali</li>
+                <li>Chris Kirby</li>
                 <li>Ulrich Kleiber</li>
                 <li>Rafal Kopaczka</li>
                 <li>Piotr Kowalski</li>
                 <li>Julian Maurice (3.18 QA Team Member; 3.22 Release Maintainer)</li>
                 <li>Remi Mayrand-Provencher</li>
                 <li>Brig C. McCoy</li>
+                <li>Tim McMahon</li>
                 <li>Dorian Meid (German translation)</li>
                 <li>Meenakshi. R</li>
                 <li>Melia Meggs</li>
                 <li>Waylon Robertson</li>
                 <li>Benjamin Rokseth</li>
                 <li><a href="https://www.openhub.net/p/koha/contributors/6618544727712">Marcel de Rooy (3.8 - 16.05 QA Team Member)</a></li>
+                <li>Andreas Roussos</li>
                 <li>Salvador Zaragoza Rubio</li>
                 <li>Mathieu Saby</li>
                 <li>Eivin Giske Skaaren</li>
                 <li>Brice Sanchez</li>
                 <li>Sam Sanders</li>
+                <li>Rodrigo Santallan</li>
                 <li>Viktor Sarge</li>
                 <li>A. Sassmannshausen</li>
                 <li>Adrien Saurat</li>
                 <li>John Seymour</li>
                 <li>Juan Romay Sieira</li>
                 <li>Zach Sim</li>
+                <li>Radek Siman</li>
                 <li>Silvia Simonetti</li>
                 <li>Savitra Sirohi</li>
                 <li>Pawel Skuza (Polish for 1.2)</li>
             <h2>jQuery and jQueryUI</h2>
             <p><a href="http://jquery.com/">jQuery</a> and <a href="http://jqueryui.com/">jQueryUI</a> are licensed under the <a href="http://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt">MIT license</a></p>
             <h2>Bootstrap</h2>
-            <p><a href="http://twitter.github.com/bootstrap/">Bootstrap</a> code and <a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2.0</a>.</p>
+            <p><a href="https://getbootstrap.com/">Bootstrap</a> code and <a href="http://glyphicons.com">Glyphicons Free</a> licensed under the <a href="https://github.com/twbs/bootstrap/blob/master/LICENSE">MIT license</a>.</p>
             <h2>YUI</h2>
             <p>
             <a href="http://yuilibrary.com/license/">BSD License</a>
 
     </div>
 </div></div></div>
+
+[% MACRO jsinclude BLOCK %]
+    <script type="text/javascript">
+         $(document).ready(function() {
+            $('#abouttabs').tabs();
+         });
+    </script>
+[% END %]
+<!-- the main div is closed in intranet-bottom.inc -->
 [% INCLUDE 'intranet-bottom.inc' %]