Sha256: f3d1dcf20a1fe355b6dd4664fd732ee555c166c426a3d363c79c652afa752878
Contents?: true
Size: 1.63 KB
Versions: 15
Compression:
Stored size: 1.63 KB
Contents
<% add_decidim_page_title(t("decidim.admin.titles.dashboard")) %> <h2 class="card-title"> <%= t "decidim.admin.titles.dashboard" %> </h2> <div class="content"> <p><%= t ".welcome" %></p> <% unless current_user.admin_terms_accepted? %> <%= cell("decidim/announcement", announcement_body, callout_class: current_user.admin_terms_accepted? ? "success" : "warning" ) %> <% end %> <div class="grid-x grid-margin-x"> <% if allowed_to? :read, :users_statistics %> <div class="cell small-12 medium-6 large-4"> <%= render( partial: "decidim/admin/users_statistics/users_count", locals: { result: users_counter } ) %> </div> <% end %> </div> <div class="grid-x grid-margin-x"> <% if allowed_to? :read, :metrics %> <div class="cell small-6"> <%= render( partial: "decidim/admin/metrics/metrics", locals: { metrics_presenter: metrics_presenter, show_link_to_more: true } ) %> </div> <% end %> <% if allowed_to? :read, :admin_log %> <div class="cell small-6"> <%= render partial: "decidim/admin/logs/logs_list", locals: { logs: latest_action_logs } %> <% if latest_action_logs.any? %> <div class="text-center"><%= link_to t(".view_more_logs"), logs_path %></div> <% end %> </div> <% end %> </div> <% if current_user.admin_terms_accepted? %> <p class="text-right"> <small> <%= link_to( t("title", scope: "decidim.admin.admin_terms_of_use"), admin_terms_show_path) %> </small> </p> <% end %> </div>
Version data entries
15 entries across 15 versions & 1 rubygems