diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2013-05-23 13:21:32 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2013-05-23 13:21:32 +0200 |
commit | 7e64eb8e0b8f581df3fca94abf832690e2d43a5a (patch) | |
tree | 97ca807a5cf77bebf10d2727f3c448688ffa82c7 | |
parent | 5f0e95bcdc96adf9cca09c46af6dc029713a036e (diff) | |
download | www-7e64eb8e0b8f581df3fca94abf832690e2d43a5a.tar.gz www-7e64eb8e0b8f581df3fca94abf832690e2d43a5a.tar.bz2 www-7e64eb8e0b8f581df3fca94abf832690e2d43a5a.zip |
Fixed: check for string instead use mapping test
-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> |