Skip to content
Snippets Groups Projects

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

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -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 %}
Loading