diff options
Diffstat (limited to 'templates/host.html')
-rw-r--r-- | templates/host.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/host.html b/templates/host.html index 6bb66fe..5913913 100644 --- a/templates/host.html +++ b/templates/host.html @@ -25,10 +25,12 @@ <dl class="dl-horizontal"> <dt>hostname</dt><dd>{{hostname}}</dd> - <dt>os</dt><dd>{{os}}</dd> - <dt>arch</dt><dd>{{arch}}</dd> + <dt>os</dt><dd>{{os|default('unknown')}}</dd> + <dt>arch</dt><dd>{{arch|default('unknonw')}}</dd> + {% if vserver %} <dt>vserver</dt><dd>{{vserver}}</dd> - {% if vserver_host is defined %} + {% endif %} + {% if vserver_host %} <dt>vserver_host</dt><dd>{{vserver_host}}</dd> {% endif %} {% if maintainers is defined %} |