Skip to content
Snippets Groups Projects
Commit ab38895b authored by Martin Mareš's avatar Martin Mareš
Browse files

Merge branch 'teacher-post-edit' into 'master'

Možnost přechodu na editaci témata přímo z diskuze

See merge request mj/owl!5
parents c4c029da c6a241a7
No related branches found
No related tags found
1 merge request!5Možnost přechodu na editaci témata přímo z diskuze
......@@ -11,6 +11,7 @@
<a class="button" href='{{ url_for('course_index', cident=g.course.ident) }}'>Back to the course</a>
{% if g.is_teacher %}
<a class="button" href='{{ url_for('teacher', cident=g.course.ident) }}'>Teacher's summary</a>
<a class="button" href='{{ url_for('admin_edit_topic', cident=g.course.ident, tid=g.topic.tid) }}'>Edit topic</a>
{% elif g.is_grader %}
<a class="button" href='{{ url_for('topic_student_grade', cident=g.course.ident, tident=g.topic.ident) }}'>Grade</a>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment