Sha256: b06eea6c50bcad7c869f77a3b1a50c893d4e71943fc9f388ef5750ed44205837

Contents?: true

Size: 863 Bytes

Versions: 1

Compression:

Stored size: 863 Bytes

Contents

<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", admin_terms_announcement_args ) %>
  <% end %>

  <% if allowed_to? :read, :admin_log %>
    <div class="row">
      <h3 class="card-title">
      </h3>
      <%= 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 %>

  <% 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

1 entries across 1 versions & 1 rubygems

Version Path
decidim-admin-0.21.0 app/views/decidim/admin/dashboard/show.html.erb