Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / core / themes / seven / templates / status-report-general-info.html.twig
1 {#
2 /**
3  * @file
4  * Theme override for 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 <div class="system-status-general-info">
33   <h2 class="system-status-general-info__header">{{ 'General System Information'|t }}</h2>
34   <div class="system-status-general-info__items">
35     <div class="system-status-general-info__item">
36       <span class="system-status-general-info__item-icon system-status-general-info__item-icon--d8"></span>
37       <div class="system-status-general-info__item-details">
38         <h3 class="system-status-general-info__item-title">{{ 'Drupal Version'|t }}</h3>
39         {{ drupal.value }}
40         {% if drupal.description %}
41           <div class="description">{{ drupal.description }}</div>
42         {% endif %}
43       </div>
44     </div>
45     <div class="system-status-general-info__item">
46       <span class="system-status-general-info__item-icon system-status-general-info__item-icon--clock"></span>
47       <div class="system-status-general-info__item-details">
48         <h3 class="system-status-general-info__item-title">{{ 'Last Cron Run'|t }}</h3>
49         {{ cron.value }}
50         {% if cron.run_cron %}
51           <div class="system-status-general-info__run-cron">{{ cron.run_cron }}</div>
52         {% endif %}
53         {% if cron.description %}
54           <div class="system-status-general-info__description">{{ cron.description }}</div>
55         {% endif %}
56       </div>
57     </div>
58     <div class="system-status-general-info__item">
59       <span class="system-status-general-info__item-icon system-status-general-info__item-icon--server"></span>
60       <div class="system-status-general-info__item-details">
61         <h3 class="system-status-general-info__item-title">{{ 'Web Server'|t }}</h3>
62         {{ webserver.value }}
63         {% if webserver.description %}
64           <div class="description">{{ webserver.description }}</div>
65         {% endif %}
66       </div>
67     </div>
68     <div class="system-status-general-info__item">
69       <span class="system-status-general-info__item-icon system-status-general-info__item-icon--php"></span>
70       <div class="system-status-general-info__item-details">
71         <h3 class="system-status-general-info__item-title">{{ 'PHP'|t }}</h3>
72         <h4 class="system-status-general-info__sub-item-title">{{ 'Version'|t }}</h4>{{ php.value }}
73         {% if php.description %}
74           <div class="description">{{ php.description }}</div>
75         {% endif %}
76
77         <h4 class="system-status-general-info__sub-item-title">{{ 'Memory limit'|t }}</h4>{{ php_memory_limit.value }}
78         {% if php_memory_limit.description %}
79           <div class="description">{{ php_memory_limit.description }}</div>
80         {% endif %}
81       </div>
82     </div>
83     <div class="system-status-general-info__item">
84       <span class="system-status-general-info__item-icon system-status-general-info__item-icon--database"></span>
85       <div class="system-status-general-info__item-details">
86         <h3 class="system-status-general-info__item-title">{{ 'Database'|t }}</h3>
87         <h4 class="system-status-general-info__sub-item-title">{{ 'Version'|t }}</h4>{{ database_system_version.value }}
88         {% if database_system_version.description %}
89           <div class="description">{{ database_system_version.description }}</div>
90         {% endif %}
91
92         <h4 class="system-status-general-info__sub-item-title">{{ 'System'|t }}</h4>{{ database_system.value }}
93         {% if database_system.description %}
94           <div class="description">{{ database_system.description }}</div>
95         {% endif %}
96       </div>
97     </div>
98   </div>
99 </div>