diff options
Diffstat (limited to 'templates/program/host_detail.html')
-rw-r--r-- | templates/program/host_detail.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/program/host_detail.html b/templates/program/host_detail.html index a632a20..b780838 100644 --- a/templates/program/host_detail.html +++ b/templates/program/host_detail.html @@ -5,9 +5,16 @@ <body> <div id="host-detail"> - {{ host.name }} - {{ host.email }} - {{ host.website }} + <div id="name">{{ host.name }}</div> + + {% if host.email %} + <div id="email">{{ host.email }}</div> + {% endif %} + + {% if host.website %} + <div id="website">{{ host.website }}</div> + {% endif %} </div> + </body> </html>
\ No newline at end of file |