]> git.openstreetmap.org Git - rails.git/blob - app/views/user_blocks/index.html.erb
Use lazy lookups for user_blocks translations
[rails.git] / app / views / user_blocks / index.html.erb
1 <% @title = t('.title') %>
2 <% content_for :heading do %>
3   <h1><%= t('.heading') %></h1>
4 <% end %>
5
6 <% unless @user_blocks.empty? %>
7 <%= render :partial => 'blocks', :locals => { :show_revoke_link => (current_user and current_user.moderator?), :show_user_name => true, :show_creator_name => true } %>
8 <% else %>
9 <p><%= t ".empty" %></p>
10 <% end %>