Link to section-list from section-heading

This commit is contained in:
Thor77 2016-11-10 21:57:30 +01:00
parent 15a437ea2c
commit 414054c243
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
{% for headline, list in objs %}
{% if list|length > 0 %}
{% set headline_id = headline|lower|replace(' ', '_') %}
<h2>{{ headline }}</h2>
<h2 onclick="window.location = '#{{ headline_id }}'">{{ headline }}</h2>
<ul class="list-group" id="{{ headline_id }}">
{% for client, value in list %}
{% set id = headline_id + "." + client.nick %}