X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e9ad6d852c437a00e6cf9f0f529525a3b33d9901..6950f44a71f2570bfed7352edb0612c3c0069221:/app/views/browse/feature.html.erb 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") %>