init project
This commit is contained in:
parent
a26fa2c64a
commit
dc0440fcef
291 changed files with 124865 additions and 485 deletions
20
templates/council/parties.html
Normal file
20
templates/council/parties.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Parteien – FragDenRat{% endblock %}
|
||||
{% block content %}
|
||||
<h2 class="mb-3">Parteien</h2>
|
||||
<ul class="list-group">
|
||||
{% for p in items %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<span>
|
||||
<a href="{% url 'party_detail' pk=p.id %}" class="text-decoration-none">
|
||||
<strong>{{ p.name }}</strong>
|
||||
</a>
|
||||
{% if p.abbreviation %}<span class="text-muted ms-2">({{ p.abbreviation }})</span>{% endif %}
|
||||
</span>
|
||||
{% if p.color %}<span class="badge" style="background-color: {{ p.color }}"> </span>{% endif %}
|
||||
</li>
|
||||
{% empty %}
|
||||
<li class="list-group-item">Keine Einträge.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue