From f3547551df093eae99d794b96805817f8f878c45 Mon Sep 17 00:00:00 2001 From: Matheus Lins Date: Fri, 7 Oct 2016 11:02:01 -0300 Subject: [PATCH] some modifications in subject's index template --- courses/templates/subject/index.html | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/courses/templates/subject/index.html b/courses/templates/subject/index.html index 6379bd4..510cd09 100644 --- a/courses/templates/subject/index.html +++ b/courses/templates/subject/index.html @@ -61,11 +61,21 @@
-

- {{subject.description|linebreaks}} -

-
- +

Professor: {{subject.professors}}

+

+ Description: + {{subject.description|linebreaks}} +

+
+
+

Begining: {{subject.init_date}}

+
+
+

End: {{subject.end_date}}

+
+
+ + {% for topic in topics %} {% if user|has_role:'system_admin' or topic.owner == user%} -- libgit2 0.21.2