Commit d6a5e9d0 by Manzar Hussain

field category

parent afc2545e
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<div class="hs_wrap_c historyscrollerPane"> <div class="hs_wrap_c historyscrollerPane">
<ul class="count_li_item"> <ul class="count_li_item">
{% for row in rows %} {% for row in rows %}
{% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] == 'Corporation History' %} {% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Corporation History' %}
<li> <li>
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }} {{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }} {{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }}
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<div class="hs_wrap_c historyscrollerPane" > <div class="hs_wrap_c historyscrollerPane" >
<ul class="count_li_item"> <ul class="count_li_item">
{% for row in rows %} {% for row in rows %}
{% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] == 'Product History' %} {% if row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ field_history_category }}'] == 'Product History' %}
<li class="blue"> <li class="blue">
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }} {{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ title }}'] }}
{{ row.content['#view'].style_plugin.render_tokens[ loop.index0 ]['{{ body }}'] }} {{ 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