X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..8f148748a219e586684e9da4d73e1047bf3a7810:/app/views/redactions/index.html.erb diff --git a/app/views/redactions/index.html.erb b/app/views/redactions/index.html.erb index e3388fafa..26dad64cf 100644 --- a/app/views/redactions/index.html.erb +++ b/app/views/redactions/index.html.erb @@ -4,7 +4,15 @@ <% end %> <% unless @redactions.empty? %> - <%= render :partial => "redactions" %> + <% else %>

<%= t ".empty" %>

<% end %> + +<% if can?(:create, Redaction) %> +
+ <%= link_to t(".new"), new_redaction_path, :class => "btn btn-outline-primary" %> +
+<% end %>