adds incomplete verification view [#500]
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
class Admin::VerificationsController < Admin::BaseController
|
class Admin::VerificationsController < Admin::BaseController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
@users = User.all.page(params[:page])
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<h2><%= t("admin.verifications.index.title") %></h2>
|
||||||
|
|
||||||
|
<h3><%= page_entries_info @users %></h3>
|
||||||
|
|
||||||
|
<ul class="admin-list">
|
||||||
|
<% @users.each do |user| %>
|
||||||
|
<li id="<%= dom_id(user) %>">
|
||||||
|
<%= link_to user.name, admin_user_path(user) %>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<%= paginate @users %>
|
||||||
@@ -98,6 +98,9 @@ en:
|
|||||||
email: "Email:"
|
email: "Email:"
|
||||||
registered_at: "Registered at:"
|
registered_at: "Registered at:"
|
||||||
hidden_at: "Hidden at:"
|
hidden_at: "Hidden at:"
|
||||||
|
verifications:
|
||||||
|
index:
|
||||||
|
title: Incomplete verifications
|
||||||
officials:
|
officials:
|
||||||
level_0: Not an official
|
level_0: Not an official
|
||||||
level_1: Level 1
|
level_1: Level 1
|
||||||
|
|||||||
@@ -98,6 +98,9 @@ es:
|
|||||||
email: "Email:"
|
email: "Email:"
|
||||||
registered_at: "Fecha de alta:"
|
registered_at: "Fecha de alta:"
|
||||||
hidden_at: "Bloqueado:"
|
hidden_at: "Bloqueado:"
|
||||||
|
verifications:
|
||||||
|
index:
|
||||||
|
title: Verificaciones incompletas
|
||||||
officials:
|
officials:
|
||||||
level_0: "No es cargo público"
|
level_0: "No es cargo público"
|
||||||
level_1: Nivel 1
|
level_1: Nivel 1
|
||||||
|
|||||||
Reference in New Issue
Block a user