biopama_protected_areas-8.x-1.3/templates/views-view-fields--breadcrumb-region-summary.html.twig

templates/views-view-fields--breadcrumb-region-summary.html.twig
 {#
/**
* @file
* view: The view in use.
* fields: A list of fields, each one contains:
* content: The output of the field.
* raw: The raw data for the field, if it exists. This is NOT output safe.
* class: The safe class ID to use.
* handler: The Views field handler controlling this field.
* inline: Whether or not the field should be inline.
* wrapper_element: An HTML element for a wrapper.
* wrapper_attributes: List of attributes for wrapper element.
* separator: An optional separator that may appear before a field.
* label: The field's label text.
* label_element: An HTML element for a label wrapper.
* label_attributes: List of attributes for label wrapper.
* label_suffix: Colon after the label.
* element_type: An HTML element for the field content.
* element_attributes: List of attributes for HTML element for field content.
* has_label_colon: A boolean indicating whether to display a colon after the label.
* element_type: An HTML element for the field content.
* element_attributes: List of attributes for HTML element for field content.
* row: The raw result from the query, with all data it fetched.
 */
#}

<div class="region-image-container">
	<div class="region-summary-image" style="background-image:url('{{fields.field_region_image.content}}');"></div>
	<div class="container-fluid region-container">
		<div class="row">
			
      <div class="col-sm-12">
         <div class="region-title">{{ fields.name.content }}</div>
      </div>

{#/**			<div class="col-sm-3"><div class="region-info">chart</div></div>
			<div class="col-sm-3"><div class="region-info">chart</div></div>
			<div class="col-sm-3"><div class="region-info">chart</div></div>
 */#}
			<div class=""><div class="region-info"><h4>You might also be interested in other regions:</h4>{{ drupal_view('regions_list', 'region_list') }}</div></div>		</div>
	</div>
<a href="/region/{{content.field_region_id.0}}" target="_blank" class="btn btn-info bread-page-link" role="button" aria-pressed="true">Go to Region Page</a>
</div>
<div class="hidden">
	<div class="views-field-field-region-id">{{fields.field_region_id.content}}</div>
</div>

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

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