From d5bdc6c979461fe8fef1012291f483c1426f999e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 22 May 2013 18:45:06 +0200 Subject: host: display entries only if they are available --- templates/host.html | 4 ++++ 1 file changed, 4 insertions(+) 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 @@
+ {% if description is defined %}
{{description}}
+ {% endif %}
hostname
{{hostname}}
@@ -29,12 +31,14 @@ {% if vserver_host is defined %}
vserver_host
{{vserver_host}}
{% endif %} + {% if maintainers is defined %}
maintainers
{% for maintainer in maintainers %} {{maintainer}}{% if not loop.last %}, {% endif %} {% endfor %}
+ {% endif %} {% if groups is defined %}
bcfg2-groups
-- cgit v1.2.3-1-g7c22