Skip to content
Snippets Groups Projects
Verified Commit f743746f authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Use new subject template everywhere

parent 7771bb46
No related branches found
No related tags found
1 merge request!52Resolve "Some data missing in substitutions table view"
......@@ -15,13 +15,9 @@
<strong>{{ el.subject.abbrev }}</strong>
</span>
{% elif el.subject and not el.lesson_period.lesson.subject %}
<span data-position="bottom" class="tooltipped" data-tooltip="{{ el.subject.name }}">
<strong>{{ el.subject.abbrev }}</strong>
</span>
{% include "chronos/partials/subject.html" with subject=el.subject %}
{% else %}
<span data-position="bottom" class="tooltipped" data-tooltip="{{ el.lesson_period.lesson.subject.name }}">
<strong>{{ el.lesson_period.lesson.subject.abbrev }}</strong>
</span>
{% include "chronos/partials/subject.html" with subject=el.lesson_period.lesson.subject %}
{% endif %}
{% elif type == "supervision_substitution" %}
{% trans "Supervision" %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment