allow direct link to user

add id-attr to list-items
This commit is contained in:
Thor77 2015-08-28 13:31:34 +02:00
parent a10b2e2448
commit b469a1c12e
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<h1>{{ headline }}</h2>
<ul class="list-group">
{% for client, value in list %}
<li class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">
<li id="{{ client.nick }}" class="list-group-item{{ ' list-group-item-success' if client.connected else loop.cycle('" style="background-color: #eee;', '') }}">
{{ client.nick }}{{ " (" + client.identifier + ")" if debug }}
<span class="badge">{{ value }}</span>
</li>