Commit c4fd6b19 by Manzar Hussain

add industry views

parent bb018769
{#
/**
* @file
* Default theme implementation to display a view of unformatted rows.
*
* Available variables:
* - title: The title of this group of rows. May be empty.
* - rows: A list of the view's row items.
* - attributes: The row's HTML attributes.
* - content: The row's content.
* - view: The view object.
* - default_row_class: A flag indicating whether default classes should be
* used on rows.
*
* @see template_preprocess_views_view_unformatted()
*
* @ingroup themeable
*/
#}
<div class="container-fluid spacerTB cs_s_i_c_b">
<div class="row">
<div class="container">
<div class="row">
<div class="col-12">
<div class="cs_w_b">
<h1 class="c_heading_b text-center">Search by Industry</h1>
<div class="cs_slider_wp">
<div class="cs_s_cb row">
{% for row in rows %}
<div class="cs_item_b col-6 col-sm-6 col-md-3">
<div class="cs_inner_item">
<div class="cs_s_inwb">
<div class="cs_icb">
<span>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_industry_icon }}'] }} </span>
</div>
<div class="cs_tcb">
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="cs_btn_c_b">
<a href="">View All Industries &nbsp;<i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
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