reverted: --- b/core/modules/update/css/update.admin.theme.css +++ a/core/modules/update/css/update.admin.theme.css @@ -61,26 +61,3 @@ .project-update__version--recommended-strong .project-update__version-title { font-weight: bold; } - -.project-update__compatibility-details details { - height: 20px; - margin: 0; - border: 0; - background-color: inherit; -} -.project-update__compatibility-details details[open] { - overflow: visible; - height: auto; - white-space: normal; -} -.project-update__compatibility-details summary { - border: 0; - margin: 0; - padding: 0; - text-transform: none; - font-weight: normal; -} -.project-update__compatibility-details .details-wrapper { - margin: 0; - padding: 5px 0; -} diff -u b/core/modules/update/tests/modules/update_test/aaa_update_test.core_compatibility.8.x-1.2_8.x-2.2.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml --- b/core/modules/update/tests/modules/update_test/aaa_update_test.core_compatibility.8.x-1.2_8.x-2.2.xml +++ b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml @@ -30,7 +30,6 @@ aaa_update_test 8.x-3.0-beta1 8.x-3.0-beta1 8.x-3.0-beta1 - ^8.1.1 published http://example.com/aaa_update_test-8-x-3-0-beta1 http://example.com/aaa_update_test--8-x-3-0-beta1.tar.gz @@ -47,8 +46,7 @@ aaa_update_test 8.x-2.2 8.x-2.2 - 8.x-2.2 - ^8.1.1 + DRUPAL-8--2-2 published http://example.com/aaa_update_test-8-x-2-2-release http://example.com/aaa_update_test-8-x-2-2.tar.gz @@ -62,7 +60,7 @@ aaa_update_test 8.x-2.1 8.x-2.1 - 8.x-2.2 + DRUPAL-8--2-1 published http://example.com/aaa_update_test-8-x-2-1-release http://example.com/aaa_update_test-8-x-2-1.tar.gz @@ -77,7 +75,7 @@ aaa_update_test 8.x-2.0 8.x-2.0 - 8.x-2.2 + DRUPAL-8--2-0 published http://example.com/aaa_update_test-8-x-2-0-release http://example.com/aaa_update_test-8-x-2-0.tar.gz @@ -91,8 +89,7 @@ aaa_update_test 8.x-1.2 8.x-1.2 - 8.x-2.2 - ^8.1.0 + DRUPAL-8--1-2 published http://example.com/aaa_update_test-8-x-1-2-release http://example.com/aaa_update_test-8-x-1-2.tar.gz @@ -106,7 +103,7 @@ aaa_update_test 8.x-1.1 8.x-1.1 - 8.x-2.2 + DRUPAL-8--1-1 published http://example.com/aaa_update_test-8-x-1-1-release http://example.com/aaa_update_test-8-x-1-1.tar.gz @@ -120,7 +117,7 @@ aaa_update_test 8.x-1.0 8.x-1.0 - 8.x-2.2 + DRUPAL-8--1-0 published http://example.com/aaa_update_test-8-x-1-0-release http://example.com/aaa_update_test-8-x-1-0.tar.gz reverted: --- b/core/themes/stable/css/update/update.admin.theme.css +++ a/core/themes/stable/css/update/update.admin.theme.css @@ -61,26 +61,3 @@ .project-update__version--recommended-strong .project-update__version-title { font-weight: bold; } - -.project-update__compatibility-details details { - height: 20px; - margin: 0; - border: 0; - background-color: inherit; -} -.project-update__compatibility-details details[open] { - overflow: visible; - height: auto; - white-space: normal; -} -.project-update__compatibility-details summary { - border: 0; - margin: 0; - padding: 0; - text-transform: none; - font-weight: normal; -} -.project-update__compatibility-details .details-wrapper { - margin: 0; - padding: 5px 0; -} only in patch2: unchanged: --- /dev/null +++ b/core/modules/update/tests/modules/update_test/aaa_update_test.core_compatibility.8.x-1.2_8.x-2.2.xml @@ -0,0 +1,135 @@ + + + AAA Update test + aaa_update_test + Drupal + 8.x-1.,8.x-2. + published + http://example.com/project/aaa_update_test + + ProjectsModules + + + + aaa_update_test 8.x-3.0-beta2 + 8.x-3.0-beta2 + 8.x-3.0-beta2 + published + http://example.com/aaa_update_test-8-x-3-0-beta2-release + http://example.com/aaa_update_test-8-x-3-0-beta2.tar.gz + 1533298080 + + Release typeBug fixes + Release typeNew features + + + Beta releases are not covered by Drupal security advisories. + + + + aaa_update_test 8.x-3.0-beta1 + 8.x-3.0-beta1 + 8.x-3.0-beta1 + ^8.1.1 + published + http://example.com/aaa_update_test-8-x-3-0-beta1 + http://example.com/aaa_update_test--8-x-3-0-beta1.tar.gz + 1533270485 + + Release typeInsecure + Release typeBug fixes + Release typeNew features + + + Beta releases are not covered by Drupal security advisories. + + + + aaa_update_test 8.x-2.2 + 8.x-2.2 + 8.x-2.2 + ^8.1.1 + published + http://example.com/aaa_update_test-8-x-2-2-release + http://example.com/aaa_update_test-8-x-2-2.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeSecurity update + + + + aaa_update_test 8.x-2.1 + 8.x-2.1 + 8.x-2.2 + published + http://example.com/aaa_update_test-8-x-2-1-release + http://example.com/aaa_update_test-8-x-2-1.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeSecurity update + Release typeInsecure + + + + aaa_update_test 8.x-2.0 + 8.x-2.0 + 8.x-2.2 + published + http://example.com/aaa_update_test-8-x-2-0-release + http://example.com/aaa_update_test-8-x-2-0.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeInsecure + + + + aaa_update_test 8.x-1.2 + 8.x-1.2 + 8.x-2.2 + ^8.1.0 + published + http://example.com/aaa_update_test-8-x-1-2-release + http://example.com/aaa_update_test-8-x-1-2.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeSecurity update + + + + aaa_update_test 8.x-1.1 + 8.x-1.1 + 8.x-2.2 + published + http://example.com/aaa_update_test-8-x-1-1-release + http://example.com/aaa_update_test-8-x-1-1.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeInsecure + + + + aaa_update_test 8.x-1.0 + 8.x-1.0 + 8.x-2.2 + published + http://example.com/aaa_update_test-8-x-1-0-release + http://example.com/aaa_update_test-8-x-1-0.tar.gz + 1250424521 + + Release typeNew features + Release typeBug fixes + Release typeInsecure + + + + only in patch2: unchanged: --- /dev/null +++ b/core/themes/seven/css/theme/update-report.css @@ -0,0 +1,28 @@ +/** + * @file update-report.css + * + * Styling for the Available updates report at admin/reports/updates + */ + +.project-update__compatibility-details details { + height: 20px; + margin: 2px 0; + border: 0; + background-color: inherit; +} +.project-update__compatibility-details details[open] { + overflow: visible; + height: auto; + white-space: normal; +} +.project-update__compatibility-details summary { + border: 0; + margin: 0; + padding: 0; + text-transform: none; + font-weight: normal; +} +.project-update__compatibility-details .details-wrapper { + margin: 0; + padding: 5px 0; +} only in patch2: unchanged: --- a/core/themes/seven/seven.libraries.yml +++ b/core/themes/seven/seven.libraries.yml @@ -61,6 +61,12 @@ maintenance-page: - system/maintenance - seven/global-styling +update-report: + version: VERSION + css: + theme: + css/theme/update-report.css: {} + install-page: version: VERSION js: only in patch2: unchanged: --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -374,3 +374,16 @@ function seven_views_pre_render(ViewExecutable $view) { } } } + +/** + * Prepares variables for update version templates. + * + * Default template: update-version.html.twig. + * + * @param array $variables + * An associative array containing: + * - version: An array of information about the release version. + */ +function seven_preprocess_update_version(array &$variables) { + $variables['#attached']['library'][] = 'seven/update-report'; +}