X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73c95847a6680bea7f35fe5b3da6eb4e52757b9c..4af54ce93bd01a4094a4657cf9e54860a7e16bb2:/app/views/browse/feature.html.erb?ds=inline
diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb
index 75e54f0b2..86b9020a2 100644
--- a/app/views/browse/feature.html.erb
+++ b/app/views/browse/feature.html.erb
@@ -1,14 +1,13 @@
<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
-
-
- <%= t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
-
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
<%= render :partial => @type, :object => @feature %>
- <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
- ·
+ <% if @feature.visible? %>
+ <%= link_to(t("browse.download_xml"), :controller => "api/#{@type.pluralize}", :action => :show) %>
+ ·
+ <% end %>
<%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>