Commit b546984d authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Thom Wiggers
Browse files

Fix new template issues on production, with partner banners and course categorie commas

parent aa396b70
......@@ -67,9 +67,7 @@
<td>{{ course.name }}</td>
<td class="d-md-table-cell d-none">
{% for category in course.categories %}
{{ category.name }}
{% if not forloop.last %},
{% endif %}
{{ category.name }}{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
<td class="d-md-table-cell d-none">{{ course.document_count }}</td>
......
......@@ -101,6 +101,8 @@ TEMPLATES = [
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'announcements.context_processors.announcements',
'thaliawebsite.context_processors.source_commit',
'thaliawebsite.context_processors.thumbnail_sizes',
],
'loaders': [
('django.template.loaders.cached.Loader', [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment