add boolean icons in account template

parent 245f2ea3
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
{% for field, value in data %} {% for field, value in data %}
<div class="item content"> <div class="item content">
<p class="header">{{ field }}</p> <p class="header">{{ field }}</p>
<p class="description">{{ value }}</p> <p class="description">{% if value == True %}<i class="ui green check circle icon"></i>{% elif value == False %}<i class="ui red close icon"></i>{% else %}{{ value }}{% endif %}</p>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
......
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