Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
|
@ -56,7 +56,7 @@
|
|||
<div class="forum__icon forum-status-{{ forum.icon_class }}" title="{{ forum.icon_title }}">
|
||||
<span class="visually-hidden">{{ forum.icon_title }}</span>
|
||||
</div>
|
||||
<div class="name"><a href="{{ forum.link }}">{{ forum.label }}</a></div>
|
||||
<div class="forum__name"><a href="{{ forum.link }}">{{ forum.label }}</a></div>
|
||||
{% if forum.description.value %}
|
||||
<div class="forum__description">{{ forum.description.value }}</div>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
* @see template_preprocess_forums()
|
||||
*/
|
||||
#}
|
||||
{{ attach_library('classy/forum') }}
|
||||
{% if forums_defined %}
|
||||
<div class="forum">
|
||||
{{ forums }}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
* - value: The content of the list element.
|
||||
* - title: The title of the list.
|
||||
* - list_type: The tag for list element ("ul" or "ol").
|
||||
* - wrapper_attributes: HTML attributes to be applied to the list wrapper.
|
||||
* - attributes: HTML attributes to be applied to the list.
|
||||
* - empty: A message to display when there are no items. Allowed value is a
|
||||
* string or render array.
|
||||
|
|
@ -19,10 +20,11 @@
|
|||
*/
|
||||
#}
|
||||
{% if context.list_style %}
|
||||
{% set attributes = attributes.addClass('item-list__' ~ context.list_style) %}
|
||||
{%- set wrapper_attributes = wrapper_attributes.addClass('item-list--' ~ context.list_style) %}
|
||||
{%- set attributes = attributes.addClass('item-list__' ~ context.list_style) %}
|
||||
{% endif %}
|
||||
{%- if items or empty -%}
|
||||
<div class="item-list">
|
||||
{% if items or empty -%}
|
||||
<div{{ wrapper_attributes.addClass('item-list') }}>
|
||||
{%- if title is not empty -%}
|
||||
<h3>{{ title }}</h3>
|
||||
{%- endif -%}
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override for displaying a tablesort indicator.
|
||||
*
|
||||
* Available variables:
|
||||
* - style: Either 'asc' or 'desc', indicating the sorting direction.
|
||||
*
|
||||
* @see template_preprocess_tablesort_indicator()
|
||||
*/
|
||||
#}
|
||||
{% if style == 'asc' -%}
|
||||
<img src="{{ arrow_asc }}" width="13" height="13" alt="{{ 'sort ascending'|t }}" title="{{ 'sort ascending'|t }}" />
|
||||
{% else -%}
|
||||
<img src="{{ arrow_desc }}" width="13" height="13" alt="{{ 'sort descending'|t }}" title="{{ 'sort descending'|t }}" />
|
||||
{% endif %}
|
||||
Reference in a new issue