diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-12 15:14:15 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-12 15:14:15 (GMT) |
commit | 3e1c4f43fb5ea31d729f92a1bc71b622c2531ab2 (patch) | |
tree | 756406f791b2ca8915e39701e534fa19a27b7539 /templates/program/host_detail.html | |
parent | 235719f0621b5e36d877d76cfaf40cdb43033a6e (diff) |
renamed model attributes to be more consistent, updated templates accordingly. added recommendations view and template.
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 |