Add what team is responsible for a category.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-05-06 13:24:20 +02:00
parent e662064319
commit 9d5a9daab4

View file

@ -44,7 +44,7 @@ Info | {{ block.super }}
<span class="anchor" id="{{ category.anchor }}"></span> <span class="anchor" id="{{ category.anchor }}"></span>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<h2>{{ category.headline }}</h2> <h2>{{ category.headline }} {% if category.team %}<small>Info by the {{ category.team.name }} team</small>{% endif %}</h2>
<div class="panel-group"> <div class="panel-group">
{% for item in category.infoitems.all %} {% for item in category.infoitems.all %}
<div class="panel panel-default"> <div class="panel panel-default">