diff options
author | yves <steve.harrison@gmx.net> | 2013-05-22 17:54:16 +0200 |
---|---|---|
committer | yves <steve.harrison@gmx.net> | 2013-05-22 17:54:16 +0200 |
commit | 260450eaa1b443dbc1a656ab7e245cfaa87fb260 (patch) | |
tree | 51ebe3021311fb40d46e702d47faaa8d5c7a6c7b | |
parent | f9878932ef3a72a4e3708febb3545ece11d3a9cf (diff) | |
download | www-260450eaa1b443dbc1a656ab7e245cfaa87fb260.tar.gz www-260450eaa1b443dbc1a656ab7e245cfaa87fb260.tar.bz2 www-260450eaa1b443dbc1a656ab7e245cfaa87fb260.zip |
host: extend template to render maintainers and groups
-rw-r--r-- | templates/host.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/host.html b/templates/host.html index 5f492b0..f862e27 100644 --- a/templates/host.html +++ b/templates/host.html @@ -16,12 +16,31 @@ <div class="tab-pane active" id="info"> <dl class="dl-horizontal"> <dt>hostname</dt><dd>{{hostname}}</dd> + <dt>description</dt><dd>{{description}}</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 %} + {% if groups is defined %} + <dt>bcfg2-groups</dt> + <dd> + <ul> + {% for group in groups %} + <li>{{group}}</li> + {% endfor %} + </ul> + </dd> + {% endif %} </dl> </div> |