Version 1
[yaffs-website] / web / core / modules / system / templates / status-report-general-info.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for the status report general info.
5  *
6  * Available variables:
7  * - drupal: The status of Drupal installation:
8  *   - value: The current status of Drupal installation.
9  *   - description: The description for current status of Drupal installation.
10  * - cron: The status of cron:
11  *   - value: The current status of cron.
12  *   - description: The description for current status of cron.
13  *   - cron.run_cron: An array to render a button for running cron.
14  * - database_system: The status of database system:
15  *   - value: The current status of database sytem.
16  *   - description: The description for current status of cron.
17  * - database_system_version: The info about current database version:
18  *   - value: The current version of database.
19  *   - description: The description for current version of database.
20  * - php: The current version of PHP:
21  *   - value: The status of currently installed PHP version.
22  *   - description: The description for current installed PHP version.
23  * - php_memory_limit: The info about current PHP memory limit:
24  *   - value: The status of currently set PHP memory limit.
25  *   - description: The description for currently set PHP memory limit.
26  * - webserver: The info about currently installed web server:
27  *   - value: The status of currently installed web server.
28  *   - description: The description for the status of currently installed web
29  *     server.
30  */
31 #}
32
33 <h2>{{ 'General System Information'|t }}</h2>
34 <div class="system-status-general-info__item">
35   <h3 class="system-status-general-info__item-title">{{ 'Drupal Version'|t }}</h3>
36   {{ drupal.value }}
37   {% if drupal.description %}
38     {{ drupal.description }}
39   {% endif %}
40 </div>
41 <div class="system-status-general-info__item">
42   <h3 class="system-status-general-info__item-title">{{ 'Last Cron Run'|t }}</h3>
43   {{ cron.value }}
44   {% if cron.run_cron %}
45     {{ cron.run_cron }}
46   {% endif %}
47   {% if cron.description %}
48     {{ cron.description }}
49   {% endif %}
50 </div>
51 <div class="system-status-general-info__item">
52   <h3 class="system-status-general-info__item-title">{{ 'Web Server'|t }}</h3>
53   {{ webserver.value }}
54   {% if webserver.description %}
55     {{ webserver.description }}
56   {% endif %}
57 </div>
58 <div class="system-status-general-info__item">
59   <h3 class="system-status-general-info__item-title">{{ 'PHP'|t }}</h3>
60   <h4>{{ 'Version'|t }}</h4> {{ php.value }}
61   {% if php.description %}
62     {{ php.description }}
63   {% endif %}
64
65   <h4>{{ 'Memory limit'|t }}</h4>{{ php_memory_limit.value }}
66   {% if php_memory_limit.description %}
67     {{ php_memory_limit.description }}
68   {% endif %}
69 </div>
70 <div class="system-status-general-info__item">
71   <h3 class="system-status-general-info__item-title">{{ 'Database'|t }}</h3>
72   <h4>{{ 'Version'|t }}</h4>{{ database_system_version.value }}
73   {% if database_system_version.description %}
74     {{ database_system_version.description }}
75   {% endif %}
76
77   <h4>{{ 'System'|t }}</h4>{{ database_system.value }}
78   {% if database_system.description %}
79     {{ database_system.description }}
80   {% endif %}
81 </div>