Don't link to xml download from redacted element versions
This commit is contained in:
parent
88e72be5b1
commit
7c55a5cb3b
6 changed files with 51 additions and 9 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
<%= render :partial => "browse/node", :object => @feature %>
|
||||
|
||||
<div class='secondary-actions'>
|
||||
<%= link_to t("browse.download_xml"), node_version_path(*@feature.id) %>
|
||||
</div>
|
||||
<% unless @feature.redacted? %>
|
||||
<div class='secondary-actions'>
|
||||
<%= link_to t("browse.download_xml"), node_version_path(*@feature.id) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue