X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..326d4ecec0ca0817567912f5d45b904df4c5b054:/app/views/redactions/index.html.erb?ds=inline 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 %>