Skip to content
Snippets Groups Projects

Resolve "Improve display of groups in timetable views"

Merged Jonathan Weth requested to merge 71-improve-display-of-groups-in-timetable-views into master
3 files
+ 19
5
Compare changes
  • Side-by-side
  • Inline
Files
3
{% for group in groups %}
<a href="{% url "timetable" "group" group.pk %}">
{{ group.short_name }}{% if not forloop.last %},{% endif %}
</a>
{% endfor %}
{% if groups.count == 1 and groups.0.parent_groups.all and config.CHRONOS_USE_PARENT_GROUPS %}
{% include "chronos/partials/groups_part.html" with groups=groups.0.parent_groups.all %}
{% else %}
{% include "chronos/partials/groups_part.html" with groups=groups %}
{% endif %}
Loading