Skip to content
Snippets Groups Projects
Commit 9f564d10 authored by Anton Bagliy's avatar Anton Bagliy
Browse files

FIX: no links for stub disciplines #609

parent 7e9304a8
No related merge requests found
......@@ -47,9 +47,15 @@
href="{{ URL.site("discipline/") }}/{{ discipline.ID }}/structure">{{ discipline.GlobalName }}</a>
</td>
{% else %}
<td style="white-space: normal;"><a
href="{{ URL.site("discipline/") }}/{{ discipline.ID }}/structure">{{ discipline.SubjectName }}</a>
</td>
{% if discipline.IsGlobalStub %}
<td style="white-space: normal;">
{{ discipline.SubjectName }}
</td>
{% else %}
<td style="white-space: normal;"><a
href="{{ URL.site("discipline/") }}/{{ discipline.ID }}/structure">{{ discipline.SubjectName }}</a>
</td>
{% endif %}
{% endif %}
<td>
<a href="{{ URL.site("office/teachers/profile/") }}/{{ Teachers[discipline.ID].ID }}">{{ Text.abbreviateName(Teachers[discipline.ID]) }}</a>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment