pedagogy: functional but basic uv comment system

This commit is contained in:
2019-06-16 17:02:45 +02:00
parent b7c2da53fe
commit 5003e57338
7 changed files with 116 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
{% endif %}
{% for uv in object_list %}
<p>
{{ uv.code }}
<a href="{{ url('pedagogy:uv_detail', uv_id=uv.id) }}">{{ uv.code }}</a>
{% if user.is_owner(uv) -%}
<a href="{{ url('pedagogy:uv_update', uv_id=uv.id) }}">{% trans %}Edit{% endtrans %}</a>
<a href="{{ url('pedagogy:uv_delete', uv_id=uv.id) }}">{% trans %}Delete{% endtrans %}</a>