Skip to content

Commit 7d15673

Browse files
mikiczhroncok
authored andcommitted
Removed redundant condition
1 parent c832b1b commit 7d15673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

naucse/templates/_base_course.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% if course is defined %}
1010
<header class="lesson-header">
1111
<a href="{{ url_for('index') }}">Nauč se Python </a>
12-
{% if course is defined and course.vars.get('coach-present') %}
12+
{% if course.vars.get('coach-present') %}
1313
> <a href="{{ url_for('runs') }}">Kurzy</a>
1414
{% else %}
1515
> <a href="{{ url_for('courses') }}">Materiály</a>
@@ -59,4 +59,4 @@
5959
</div>
6060
</div>
6161

62-
{% endblock content %}
62+
{% endblock content %}

0 commit comments

Comments
 (0)