Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] in MEP tables consider "absent" as an abstention

  • Loading branch information...
commit 897ed3ba451c7d5acbfe8b1969b857944aa7fbfd 1 parent 08c1384
@byroot byroot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  memopol2/templates/meps/meps_table_tr.html
View
2  memopol2/templates/meps/meps_table_tr.html
@@ -31,7 +31,7 @@
{% endif %}
{% if choice_listing %}
<td>
- <div class="{% if choice == recommendation.recommendation %}ok{% else %}{% if choice == "abstention" %}abstention{% else %}nok{% endif %}{% endif %}">{{ choice }}</div>
+ <div class="{% if choice == recommendation.recommendation %}ok{% else %}{% if choice == "abstention" or choice == "absent" %}abstention{% else %}nok{% endif %}{% endif %}">{{ choice }}</div>
</td>
{% endif %}
{% if organization_role %}
Please sign in to comment.
Something went wrong with that request. Please try again.