add title (configurable) as headline to template
This commit is contained in:
parent
60bdcb7aab
commit
402040e2dc
|
@ -17,10 +17,11 @@
|
||||||
<b>DEBUG</b>
|
<b>DEBUG</b>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<h1 class="page-header">{{ title }}</h1>
|
||||||
{% for headline, list in objs %}
|
{% for headline, list in objs %}
|
||||||
{% if list|length > 0 %}
|
{% if list|length > 0 %}
|
||||||
{% set headline_id = headline|lower|replace(' ', '_') %}
|
{% set headline_id = headline|lower|replace(' ', '_') %}
|
||||||
<h1>{{ headline }}</h2>
|
<h1>{{ headline }}</h1>
|
||||||
<ul class="list-group" id="{{ headline_id }}">
|
<ul class="list-group" id="{{ headline_id }}">
|
||||||
{% for client, value in list %}
|
{% for client, value in list %}
|
||||||
{% set id = headline_id + "." + client.nick %}
|
{% set id = headline_id + "." + client.nick %}
|
||||||
|
|
Loading…
Reference in New Issue