X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/543746a467e90915f7eaf60b7b09f5fa498056e0..118fd7ac41a586001b4c8f45c149731cc9a2e586:/curriculum/templates/curriculum/snippets/course_boxes_toc.html diff --git a/curriculum/templates/curriculum/snippets/course_boxes_toc.html b/curriculum/templates/curriculum/snippets/course_boxes_toc.html index db6d484..a2000b7 100755 --- a/curriculum/templates/curriculum/snippets/course_boxes_toc.html +++ b/curriculum/templates/curriculum/snippets/course_boxes_toc.html @@ -1,10 +1,14 @@ {% url "catalogue_lessons" as lessons_url %} -{% for course in object_list %} -
  • - {% if accusative %} - {{ course.accusative }} - {% else %} - {{ course }} - {% endif %} -
  • +{% for level, course_list in object_list %} +
    {{ level }}: + +
    {% endfor %}