diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-22 18:45:06 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-05-22 18:45:06 +0200 |
commit | d5bdc6c979461fe8fef1012291f483c1426f999e (patch) | |
tree | 5da2bcd6dad484606d486f99f49db1d5cba8adea | |
parent | 9ba3b369e344809083abdb4d057d5b5c83097178 (diff) | |
download | www-d5bdc6c979461fe8fef1012291f483c1426f999e.tar.gz www-d5bdc6c979461fe8fef1012291f483c1426f999e.tar.bz2 www-d5bdc6c979461fe8fef1012291f483c1426f999e.zip |
host: display entries only if they are available
-rw-r--r-- | templates/host.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/host.html b/templates/host.html index e44ca44..030712f 100644 --- a/templates/host.html +++ b/templates/host.html @@ -15,11 +15,13 @@ <div class="tab-content"> <div class="tab-pane active" id="info"> + {% if description is defined %} <div class="row"> <div class="well well-small span8 offset2"> {{description}} </div> </div> + {% endif %} <dl class="dl-horizontal"> <dt>hostname</dt><dd>{{hostname}}</dd> @@ -29,12 +31,14 @@ {% if vserver_host is defined %} <dt>vserver_host</dt><dd>{{vserver_host}}</dd> {% endif %} + {% if maintainers is defined %} <dt>maintainers</dt> <dd> {% for maintainer in maintainers %} <a href="mailto:{{maintainer}}@spline.de">{{maintainer}}</a>{% if not loop.last %}, {% endif %} {% endfor %} </dd> + {% endif %} {% if groups is defined %} <dt>bcfg2-groups</dt> <dd> |