diff --git a/pedagogy/templates/pedagogy/guide.jinja b/pedagogy/templates/pedagogy/guide.jinja index 205aafb4..28d90334 100644 --- a/pedagogy/templates/pedagogy/guide.jinja +++ b/pedagogy/templates/pedagogy/guide.jinja @@ -6,46 +6,66 @@ {% endblock %} {% block content %} -
- {% if can_create_uv(user) %} -- {% trans %}Create UV{% endtrans %} -
- {% endif %} - {% for uv in object_list %} -- {{ uv.code }} - {% if user.is_owner(uv) -%} - {% trans %}Edit{% endtrans %} - {% trans %}Delete{% endtrans %} - {%- endif -%} -
- {% endfor %} + A + P + + + +{% if can_create_uv(user) %} ++ {% trans %}Create UV{% endtrans %} +
+{% trans %}UV{% endtrans %} | +{% trans %}Title{% endtrans %} | +{% trans %}Department{% endtrans %} | +{% trans %}Credit type{% endtrans %} | + {% if can_create_uv(user) %} +{% trans %}Edit{% endtrans %} | +{% trans %}Delete{% endtrans %} | + {% endif %} +
{{ uv.code }} | +{{ uv.title }} | +{{ uv.department }} | +{{ uv.credit_type }} | + {% if user.is_owner(uv) -%} +{% trans %}Edit{% endtrans %} | +{% trans %}Delete{% endtrans %} | + {%- endif -%} +