Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -8,10 +8,11 @@ To use Classy as your base theme, set the 'base theme' in your theme's .info.yml
file to "classy":
base theme: classy
See https://www.drupal.org/theme-guide/8/classy for more information on using
the Classy theme.
See https://www.drupal.org/docs/8/theming-drupal-8/using-classy-as-a-base-theme
for more information on using the Classy theme.
ABOUT DRUPAL THEMING
--------------------
See https://www.drupal.org/theme-guide/8 for more information on Drupal theming.
See https://www.drupal.org/docs/8/theming for more information on Drupal
theming.

View file

@ -1,6 +1,6 @@
name: Classy
type: theme
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the <a href="https://www.drupal.org/theme-guide/8">Drupal 8 Theming Guide</a>.'
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the <a href="https://www.drupal.org/docs/8/theming">Drupal 8 Theming Guide</a>.'
package: Core
version: VERSION
core: 8.x

View file

@ -56,6 +56,12 @@ forum:
component:
css/components/forum.css: { weight: -10 }
image-widget:
version: VERSION
css:
component:
css/components/image-widget.css: {}
indented:
version: VERSION
css:

View file

@ -1,7 +1,19 @@
/**
* @file
* Image upload widget.
*
* This CSS file is not used in this theme (Classy). It was intended to be used,
* but due to a bug, Drupal 8 shipped with it not being used. To not break
* backwards compatibility, we continue to not load it in Classy. Every
* subtheme of Classy is encouraged to use it, by attaching the
* classy/image-widget asset library in their image-widget.html.twig file.
*
* @see core/themes/seven/templates/content-edit/image-widget.html.twig.
*
* @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig
* attach the classy/image-widget asset library.
*/
.image-preview {
float: left; /* LTR */
padding: 0 10px 10px 0; /* LTR */

View file

@ -10,7 +10,6 @@
* @see template_preprocess_image_widget()
*/
#}
{{ attach_library('classy/image-widget') }}
<div{{ attributes }}>
{% if data.preview %}
<div class="image-preview">

View file

@ -30,5 +30,7 @@
</div>
{% endif %}
{% if description %}
<div class="description">{{ description }}</div>
<div{{ description_attributes.addClass('description') }}>
{{ description }}
</div>
{% endif %}

View file

@ -11,7 +11,7 @@
* @see template_preprocess_views_view_opml()
*/
#}
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
<head>
<title>{{ title }}</title>

View file

@ -15,7 +15,7 @@
* @see template_preprocess_views_view_rss()
*/
#}
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="{{ link }}"{{ namespaces }}>
<channel>
<title>{{ title }}</title>