<%= t ".welcome" %>
<% unless current_user.admin_terms_accepted? %> <%= cell("decidim/announcement", announcement_body, callout_class: current_user.admin_terms_accepted? ? "success" : "warning" ) %> <% end %>
<% if current_user.admin? && current_user.organization&.id == current_organization.id %>
<%= render(
partial: "decidim/admin/users_statistics/users_count",
locals: {
result: users_counter
}
) %>
<% end %>
<% if allowed_to? :read, :metrics %>
<% if current_user.admin_terms_accepted? %>
<%= render(
partial: "decidim/admin/metrics/metrics",
locals: {
metrics_presenter: 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 } %>
<% if latest_action_logs.any? %>
<% end %>
<%= link_to t(".view_more_logs"), logs_path %>
<% end %>
<%= link_to( t("title", scope: "decidim.admin.admin_terms_of_use"), admin_terms_show_path) %>
<% end %>