.
This commit is contained in:
@@ -10,7 +10,15 @@
|
|||||||
Answers
|
Answers
|
||||||
<ul>
|
<ul>
|
||||||
{% for answer in answers %}
|
{% for answer in answers %}
|
||||||
<li {% if not answer.score %}class="flagged"{% endif %}><a href="{% url 'atlas:collection_mark_question' collection.pk forloop.counter0 %}">{{answer.answer}}: {{answer.score}}</a></li>
|
<li {% if not answer.score %}class="flagged"{% endif %}><a href="{% url 'atlas:collection_mark_question' collection.pk forloop.counter0 %}">{{answer.answer}}
|
||||||
|
{% if not answer.score %}
|
||||||
|
<span class="badge rounded-pill bg-success">{{answer.score}</span>
|
||||||
|
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
<span class="badge rounded-pill bg-danger">{{answer.score}</span>
|
||||||
|
{% endif %}
|
||||||
|
}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user