views_timeline-1.0.x-dev/templates/views-timeline-layouts/layout-two.html.twig

templates/views-timeline-layouts/layout-two.html.twig
<div class="views-single-timeline views-timeline-d-flex-2{{ row_class ? ' ' ~ row_class }}">
	<div class="views-timeline-blank"></div>
	<div class="views-timeline-text views-timeline-d-flex-2">
		<div class="views-timeline-content-wrapper">
			<div>
				{% if timeline_data.views_timeline_date %}
					<span class="views-timeline-date">
						{{ view.style_plugin.getField(key, timeline_data.views_timeline_date) }}
					</span>
				{% endif %}
				<span class="views-timeline-heading">
					{% if timeline_data.views_timeline_icon %}
						<div class="view-timeline-icon">
							{{ view.style_plugin.getField(key, timeline_data.views_timeline_icon) }}
						</div>
					{% endif %}
					{% if timeline_data.views_timeline_title %}
						<div class="view-timeline-title">
							{{ view.style_plugin.getField(key, timeline_data.views_timeline_title) }}
						</div>
					{% endif %}
				</span>
			</div>

			<div
				class="views-timeline-content">
				{# Loop over description fields to avoid repetition #}
				{% for i in 1..4 %}
					{% set description_key = 'views_timeline_description' ~ i %}
					{% if timeline_data[description_key] %}
						{{ view.style_plugin.getField(key, timeline_data[description_key]) }}
					{% endif %}
				{% endfor %}
			</div>
		</div>
		<div class="views-timeline-square"></div>
	</div>
</div>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc