diff options
Diffstat (limited to 'templates/host.html')
-rw-r--r-- | templates/host.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/host.html b/templates/host.html index 8ab7ae2..6bb66fe 100644 --- a/templates/host.html +++ b/templates/host.html @@ -108,17 +108,17 @@ {% for service in services[service_category] %} <tr> <td> - {% if service is mapping %} - {{service.items()[0][0]}} - {% else %} + {% if service is string %} {{service}} + {% else %} + {{service.items()[0][0]}} {% endif %} </td> <td> - {% if service is mapping %} - {{service.items()[0][1]}} - {% else %} + {% if service is string %} default + {% else %} + {{service.items()[0][1]}} {% endif %} </td> <td>{{service_category}}</td> |