Commit a24d1e36 by Manzar Hussain

check condition for loop

parent 70300eb8
......@@ -41,7 +41,7 @@
<div class="hs_wrap_c scroll-pane">
<ul class="count_li_item">
{% for row in rows %}
<li {% if row |length > 0 %} class="blue" {% endif %}>
<li {% if loop.index > 0 %} class="blue" {% endif %}>
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
......
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