diff --git a/exercise/templates/exercise/_children.html b/exercise/templates/exercise/_children.html index aa7a87a42..89bc9aa05 100644 --- a/exercise/templates/exercise/_children.html +++ b/exercise/templates/exercise/_children.html @@ -2,33 +2,32 @@ {% load course %} {% load exercise %} {% for entry in children %} - -{% if entry.type == 'level' %} -{% if entry.down %} - -{% endif %} -{% elif entry|is_listed %} -
  • - {% if accessible and not entry.submittable or exercise_accessible %} - {% if entry.is_empty %} - {{ entry.name|parse_localization }} - {% else %} - {{ entry.name|parse_localization }} - {% endif %} - {% if entry.submission_count %} - {% points_badge entry %} - {% endif %} - {% else %} - {{ entry.name|parse_localization }} - {% if is_course_staff %} - - - {% translate "EARLY_ACCESS" %} - - {% endif %} - {% endif %} -
  • -{% endif %} + {% if entry.type == 'level' %} + {% if entry.down %} + + {% endif %} + {% elif entry|is_listed %} +
  • + {% if accessible and not entry.submittable or exercise_accessible %} + {% if entry.is_empty %} + {{ entry.name|parse_localization }} + {% else %} + {{ entry.name|parse_localization }} + {% endif %} + {% if entry.submission_count %} + {% points_badge entry %} + {% endif %} + {% else %} + {{ entry.name|parse_localization }} + {% if is_course_staff %} + + + {% translate "EARLY_ACCESS" %} + + {% endif %} + {% endif %} +
  • + {% endif %} {% endfor %}