pedagogy: fix some previous tests never launched and test for display/create/delete of UVComment

This commit is contained in:
2019-06-16 18:26:30 +02:00
parent 5003e57338
commit 8512f3c5d0
3 changed files with 199 additions and 25 deletions

View File

@ -20,6 +20,7 @@
<p>{{ comment.grade_teaching }}</p>
<p>{{ comment.grade_work_load }}</p>
<p>{{ comment.comment }}</p>
<p>{% trans %}Published: {% endtrans %}{{ comment.publish_date }}</p>
{% if user.is_owner(comment) %}
<p><a href="{{ url('pedagogy:comment_edit', comment_id=comment.id) }}">{% trans %}Edit{% endtrans %}</a></p>
<p><a href="{{ url('pedagogy:comment_delete', comment_id=comment.id) }}">{% trans %}Delete{% endtrans %}</a></p>