<%= render "pending_moderations" %>
<%= render(
partial: "decidim/admin/users_statistics/users_count",
locals: {
result: users_counter
}
) %>
<% if allowed_to? :read, :metrics %>
<% if current_user.admin_terms_accepted? %>
<%= link_to( t("title", scope: "decidim.admin.admin_terms_of_service"), admin_terms_show_path, class: "button button__text-secondary") %>
<% end %>
<%= render(
partial: "decidim/admin/metrics/metrics",
locals: {
metrics_presenter:,
show_link_to_more: true
}
) %>
<% end %>
<% if allowed_to? :read, :admin_log %>
<%= render partial: "decidim/admin/logs/logs_list", locals: { logs: latest_action_logs, display_filters: false } %>
<% if latest_action_logs.any? %>
<% end %>
<%= link_to t(".view_more_logs"), logs_path, class: "button button__sm button__secondary" %>
<% end %>