diff --git a/categories/templates/categories/list.html b/categories/templates/categories/list.html
index de64e4f..66fa8a8 100755
--- a/categories/templates/categories/list.html
+++ b/categories/templates/categories/list.html
@@ -83,11 +83,11 @@
{% trans "Coordinator(s): " %}
{% for coordinator in category.coordinators.all %}
- {{coordinator.username}}
+ {{coordinator.social_name}}
{% endfor %}
-
+ {{category.description|safe}}
diff --git a/subjects/templates/subjects/list.html b/subjects/templates/subjects/list.html
index 6de1a05..c47e2c4 100644
--- a/subjects/templates/subjects/list.html
+++ b/subjects/templates/subjects/list.html
@@ -76,13 +76,13 @@
{% trans "Coordinator(s): " %}
{% for coordinator in category.coordinators.all %}
- {{coordinator.username}}
+ {{coordinator.social_name}}
{% endfor %}
{{category.description|safe}}
- {% if user in category.coordinators.all %}
+ {% if user in category.coordinators.all %}
- {% endif %}
+ {% endif %}
diff --git a/subjects/views.py b/subjects/views.py
index 3143b58..5c28fab 100644
--- a/subjects/views.py
+++ b/subjects/views.py
@@ -37,8 +37,6 @@ class IndexView(LoginRequiredMixin, ListView):
def get_queryset(self):
result = super(IndexView, self).get_queryset()
-
-
return result
def render_to_response(self, context, **response_kwargs):
@@ -59,7 +57,6 @@ class IndexView(LoginRequiredMixin, ListView):
def get_context_data(self, **kwargs):
context = super(IndexView, self).get_context_data(**kwargs)
- list_categories = None
categories = self.get_queryset().order_by('name')
--
libgit2 0.21.2