summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-05-22 18:40:25 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-05-22 18:40:25 +0200
commit9ba3b369e344809083abdb4d057d5b5c83097178 (patch)
tree596d4bcf59708597b6e47a2a33d12d7d5353cb18
parent5ae1b32ca4cab69f03fb8c262dfa035fd7233fd8 (diff)
downloadwww-9ba3b369e344809083abdb4d057d5b5c83097178.tar.gz
www-9ba3b369e344809083abdb4d057d5b5c83097178.tar.bz2
www-9ba3b369e344809083abdb4d057d5b5c83097178.zip
host: display lists inline
-rw-r--r--templates/host.html24
1 files changed, 10 insertions, 14 deletions
diff --git a/templates/host.html b/templates/host.html
index c7edaf8..e44ca44 100644
--- a/templates/host.html
+++ b/templates/host.html
@@ -23,29 +23,25 @@
<dl class="dl-horizontal">
<dt>hostname</dt><dd>{{hostname}}</dd>
- <dt>maintainers</dt>
- <dd>
- <ul>
- {% for maintainer in maintainers %}
- <li><a href="mailto:{{maintainer}}@spline.de">{{maintainer}}</a></li>
- {% endfor %}
- </ul>
- </dd>
<dt>os</dt><dd>{{os}}</dd>
<dt>arch</dt><dd>{{arch}}</dd>
<dt>vserver</dt><dd>{{vserver}}</dd>
{% if vserver_host is defined %}
<dt>vserver_host</dt><dd>{{vserver_host}}</dd>
{% endif %}
+ <dt>maintainers</dt>
+ <dd>
+ {% for maintainer in maintainers %}
+ <a href="mailto:{{maintainer}}@spline.de">{{maintainer}}</a>{% if not loop.last %}, {% endif %}
+ {% endfor %}
+ </dd>
{% if groups is defined %}
<dt>bcfg2-groups</dt>
<dd>
- <ul>
- {% for group in groups %}
- <li>{{group}}</li>
- {% endfor %}
- </ul>
- </dd>
+ {% for group in groups %}
+ {{group}}{% if not loop.last %}, {% endif %}
+ {% endfor %}
+ </dd>
{% endif %}
</dl>
</div>