X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/851de28303fc9c24d095b9452b862bea618ec0da..657ed03d8b2e262bc965cc38e8af190624c3295b:/app/views/redactions/index.html.erb diff --git a/app/views/redactions/index.html.erb b/app/views/redactions/index.html.erb index 1fa683de8..e3388fafa 100644 --- a/app/views/redactions/index.html.erb +++ b/app/views/redactions/index.html.erb @@ -1,8 +1,10 @@ -<% @title = t('redaction.index.title') %> -

<%= t('redaction.index.heading') %>

+<% @title = t(".title") %> +<% content_for :heading do %> +

<%= t(".heading") %>

+<% end %> <% unless @redactions.empty? %> - <%= render :partial => 'redactions' %> + <%= render :partial => "redactions" %> <% else %> -

<%= t 'redaction.index.empty' %>

+

<%= t ".empty" %>

<% end %>