minor fix - hide irrelevant data
[edumed.git] / stage2 / templates / stage2 / answer_list.html
index d8f3dce..0f0f79e 100644 (file)
@@ -14,7 +14,7 @@
     {% endif %}
   {% endif %}
   <p>{% if not marked and not assignment.is_active %}PozostaƂo {% endif %}{{ answers|length }} odpowiedzi</p>
-  {% if field_counts %}
+  {% if field_counts and assignment.is_active %}
     <ul>
       {% for field_name, count in field_counts %}
         <li>{{ field_name }}: {{ count }} odpowiedzi</li>