Commit 99e26b89 by Manzar Hussain

Merge branch 'feature-theme' into 'develop'

Feature theme

See merge request manzarH/dic-global-dev!336
parents 3e6809c5 67729615
{#
/**
* @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
*/
#}
<!-- section code start -->
<div class="nw_blog_c_b">
<div class="nw_p_i_c">
{{ title_prefix }}
{% if label %}
<h5>{{ label }}</h5>
{% endif %}
{{ title_suffix }}
{% for row in rows %}
<div class="cs_s_cb">
<div class="nw_r_p_ci">
<a href="" class="nw_imgcon_box" style="background: url({{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});">
</a>
<div class="nw_p_box">
<h6>{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_news_image }}'] }});"></h6>
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ view_node }}'] }}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<!-- section code end -->
\ 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