Commit 9f7dd65b by Ajay Barthwal

Merge branch 'feature-theme' into 'develop'

testimonial for products

See merge request manzarH/dic-global-dev!18
parents 1f5be5a6 8a0c526d
{#
/**
* @file
* Default view template to display all the fields in a row.
*
* Available variables:
* - 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.
*
* @see template_preprocess_views_view_fields()
*
* @ingroup themeable
*/
#}
<div class="container-fluid spacerTB testimonial_c_b">
<div class="row">
<div class="container">
<div class="tm_c_o_b">
<div class="tm_h_c">
<h2 class="c_heading_b">Testimonials</h2>
<p>We serve our clients with the best of our capacity</p>
</div>
<div class="tm_s_c_b">
<div class="tm_m_b_i tm_slider_container">
{% for row in rows %}
<div class="tm_i_item">
<div class="tm_icbm">
<div class="tm_item_con">
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
</div>
<div class="tm_m_name">
<h6 class="tm_main_h">{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}</h6>
<p>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_person_position }}'] }}</p>
<ul>
<li><i class="fa fa-star" aria-hidden="true"></i></li>
<li><i class="fa fa-star" aria-hidden="true"></i></li>
<li><i class="fa fa-star" aria-hidden="true"></i></li>
<li><i class="fa fa-star" aria-hidden="true"></i></li>
<li><i class="fa fa-star-half" aria-hidden="true"></i></li>
</ul>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment