Skip to content
This repository was archived by the owner on Jun 24, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion degov_node_blog/templates/node--blog--slideshow.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
{% set text = content.field_teaser_text|render|striptags %}
<div class="blog__slideshow-text"{{ content.field_teaser_text|quickedit_attr }}>
<p>{{ text|length > 600 ? text|slice(0, 600) ~ '...' : text }}</p>
Expand Down
2 changes: 1 addition & 1 deletion degov_node_blog/templates/node--blog--teaser.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
<div class="blog__teaser-text"{{ content.field_teaser_text|quickedit_attr }}>
{% autoescape false %}
{{ node.field_teaser_text.value|length > 440 ? node.field_teaser_text.value|striptags|slice(0, 440) ~ '...' : node.field_teaser_text.value|striptags }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
{% set text = content.field_teaser_text|render|striptags %}
<div class="event__slideshow-text"{{ content.field_teaser_text|quickedit_attr }}>
<p>{{ text|length > 600 ? text|slice(0, 600) ~ '...' : text }}</p>
Expand Down
2 changes: 1 addition & 1 deletion degov_node_event/templates/node--event--teaser.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
</div>
{% endif %}
<!-- Teaser text -->
{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
<a href="{{ url }}" rel="bookmark">
<div class="event__teaser-text {{ class_content }}"{{ content.field_teaser_text|quickedit_attr }}>
{% autoescape false %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
{% set text = content.field_teaser_text|render|striptags %}
<div class="normal-page__slideshow-text"{{ content.field_teaser_text|quickedit_attr }}>
<p>{{ text|length > 600 ? text|slice(0, 600) ~ '...' : text }}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
<div class="normal-page__teaser-text"{{ content.field_teaser_text|quickedit_attr }}>
{% autoescape false %}
{{ node.field_teaser_text.value|length > 440 ? node.field_teaser_text.value|striptags|slice(0, 440) ~ '...' : node.field_teaser_text.value|striptags }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
</a>
{% endif %}

{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
{% set text = content.field_teaser_text|render|striptags %}
<div class="press__slideshow-text"{{ content.field_teaser_text|quickedit_attr }}>
<p>{{ text|length > 600 ? text|slice(0, 600) ~ '...' : text }}</p>
Expand Down
2 changes: 1 addition & 1 deletion degov_node_press/templates/node--press--teaser.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</div>
{% endif %}
<!-- Teaser text -->
{% if content.field_teaser_text %}
{% if content.field_teaser_text.0 %}
<a href="{{ url }}" rel="bookmark">
<div class="press__teaser-text {{ class_content }}"{{ content.field_teaser_text|quickedit_attr }}>
{% autoescape false %}
Expand Down