diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-18 20:08:39 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-18 20:08:39 +0100 |
commit | ab4f955593dfc671af4a4e75791324e0c205d64a (patch) | |
tree | a0bc16e857d81b3adab7c70ecad8a050573231a1 /web/views/relation.erb | |
parent | 71e774e39117dc51e27902d64ee8a70341a08ef3 (diff) | |
download | taginfo-ab4f955593dfc671af4a4e75791324e0c205d64a.tar taginfo-ab4f955593dfc671af4a4e75791324e0c205d64a.tar.gz |
Add support for relation type images
Diffstat (limited to 'web/views/relation.erb')
-rw-r--r-- | web/views/relation.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/views/relation.erb b/web/views/relation.erb index d1aea0d..a92c5df 100644 --- a/web/views/relation.erb +++ b/web/views/relation.erb @@ -17,6 +17,11 @@ </ul> <div id="overview"> <h2><%= t.pages.relation.overview.title %></h2> +<% if @image_url %> + <div style="float: right;"> + <img src="<%= @image_url %>" style="border: 1px solid #a0a0a0; border-radius: 4px; padding: 1px;" alt=""/> + </div> +<% end %> <table id="grid-overview"> </table> <p><%= t.pages.relation.overview.see_also %>: type=<span id="taglink"></span></p> |