Link to section-list from section-heading
This commit is contained in:
parent
15a437ea2c
commit
414054c243
|
@ -21,7 +21,7 @@
|
||||||
{% 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(' ', '_') %}
|
||||||
<h2>{{ headline }}</h2>
|
<h2 onclick="window.location = '#{{ headline_id }}'">{{ headline }}</h2>
|
||||||
<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