X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a42bc2eff8563d206615cb8810ad87e9e6e5be2..a88da1d71af3a095e5496937e04731ed5d5632fe:/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 c5c26330e..86b9020a2 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -5,7 +5,9 @@ <%= 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") %>