X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c79686f3cef86330d0ab6bbef2a9e2275ac93ac..8551db4c82df7458632d4aa30e9344d60e0774dc:/app/views/redactions/index.html.erb?ds=sidebyside 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 %>