diff --git a/core/modules/system/src/Tests/System/CronRunTest.php b/core/modules/system/src/Tests/System/CronRunTest.php index ec35b72..26a56a3 100644 --- a/core/modules/system/src/Tests/System/CronRunTest.php +++ b/core/modules/system/src/Tests/System/CronRunTest.php @@ -121,7 +121,7 @@ public function testManualCron() { $this->assertResponse(403); $this->drupalGet('admin/reports/status'); - $this->clickLink(t('run cron manually')); + $this->clickLink(t('Run cron')); $this->assertResponse(200); $this->assertText(t('Cron ran successfully.')); } diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 154a55b..a1db970 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -499,7 +499,12 @@ function system_requirements($phase) { $cron_url = \Drupal::url('system.cron', ['key' => \Drupal::state()->get('system.cron_key'), ['absolute' => TRUE]]); $requirements['cron']['description'][] = [ [ - '#markup' => t('You can run cron manually.', [':cron' => \Drupal::url('system.run_cron')]), + '#type' => 'link', + '#title' => t('Run cron'), + '#attributes' => [ + 'class' => ['button', 'button--primary', 'button--small'], + ], + '#url' => Url::fromRoute('system.run_cron'), ], [ '#prefix' => '
', diff --git a/core/themes/seven/css/components/system-status-counter.css b/core/themes/seven/css/components/system-status-counter.css index 7fb257b..4c9a588 100644 --- a/core/themes/seven/css/components/system-status-counter.css +++ b/core/themes/seven/css/components/system-status-counter.css @@ -17,10 +17,13 @@ vertical-align: middle; border-right: 1px solid #e6e4df; /* LTR */ border-left: 0; /* LTR */ + background-color: #FAF9F5; + box-shadow: -1px 1px 2px rgba(0, 0, 0, .15) inset; } [dir="rtl"] .system-status-counter__status-icon { border-right: 0; border-left: 1px solid #e6e4df; + box-shadow: -1px 1px 2px rgba(0, 0, 0, .15) inset; } .system-status-counter__status-icon:before { content: ""; @@ -51,7 +54,7 @@ display: inline-block; vertical-align: middle; text-transform: uppercase; - padding: 5px; + padding: 0 6px; font-size: 16px; line-height: 1em; font-weight: bold; @@ -72,9 +75,7 @@ } .system-status-counter__status-title { font-size: 20px; - } - .system-status-counter__status-title { - padding: 10px 6px; + padding: 10px 3%; } .system-status-counter__status-icon:before { background-size: 35px; diff --git a/core/themes/seven/css/components/system-status-report-counters.css b/core/themes/seven/css/components/system-status-report-counters.css index 2c165f1..a8e6db3 100644 --- a/core/themes/seven/css/components/system-status-report-counters.css +++ b/core/themes/seven/css/components/system-status-report-counters.css @@ -10,14 +10,13 @@ @media screen and (min-width: 60em) { .system-status-report-counters__item { - margin: 10px 0 20px 0; + margin-bottom: 20px; } .system-status-report-counters { flex-wrap: wrap; display: flex; justify-content: space-between; } - .system-status-report-counters__item--half-width { width: 49%; } diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme index 65d8940..751ea68 100644 --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -215,7 +215,6 @@ function seven_preprocess_status_report(&$variables) { $variables['php_memory_limit'] = $requirement; unset($variables['requirements'][$i]); break; - } if (isset($requirement['severity'])) { diff --git a/core/themes/seven/templates/status-report.html.twig b/core/themes/seven/templates/status-report.html.twig index 9d18bca..ab99176 100644 --- a/core/themes/seven/templates/status-report.html.twig +++ b/core/themes/seven/templates/status-report.html.twig @@ -64,24 +64,47 @@

Drupal Version

{{ version.value }} + {% if version.description %} +
{{ version.description }}
+ {% endif %}

Last Cron Run Version

{{ cron.value }} + {% if cron.description %} +
{{ cron.description }}
+ {% endif %}

Web Server

{{ webserver.value }} + {% if webserver.description %} +
{{ webserver.description }}
+ {% endif %}

PHP

- {{ 'Version'|t }}
{{ php.value }}
+ {{ 'Version'|t }}
{{ php.value }} + {% if php.description %} +
{{ php.description }}
+ {% endif %} +
{{ 'Memory'|t }}
{{ php_memory_limit.value }} + {% if php_memory_limit.description %} +
{{ php_memory_limit.description }}
+ {% endif %}

Database

- {{ 'Version'|t }}
{{ database_system_version.value }}
+ {{ 'Version'|t }}
{{ database_system_version.value }} + {% if database_system_version.description %} +
{{ database_system_version.description }}
+ {% endif %} +
{{ 'System'|t }}
{{ database_system.value }} + {% if database_system.description %} +
{{ database_system.description }}
+ {% endif %}