Sha256: 46fcfd0ab754a95e614cd0d74c56f19e9ea140acd328660d1414601d565b2b15

Contents?: true

Size: 1.03 KB

Versions: 92

Compression:

Stored size: 1.03 KB

Contents

<%= content_for :toolbar do %>
  <%= toolbar_button(
    icon: 'info-circle',
    label: Alchemy.t(:info),
    url: alchemy.dashboard_info_path,
    title: Alchemy.t(:info),
    dialog_options: {
      title: Alchemy.t(:info),
      size: "420x435"
    },
    if_permitted_to: [:info, :alchemy_admin_dashboard],
    hotkey: 'alt+i'
  ) %>
<% end %>

<div id="dashboard">
  <h1>
    <% if @first_time -%>
    <%= Alchemy.t(:welcome_note, name: current_alchemy_user.try(:name)) %>
    <% else -%>
    <%= Alchemy.t(:welcome_back_note, name: current_alchemy_user.try(:name)) %>
    <% end -%>
  </h1>
  <% if @last_sign_at %>
  <p>
    <small><%= Alchemy.t('Your last login was on', time: l(@last_sign_at, format: :'alchemy.default')) %></small>
  </p>
  <% end %>
  <div class="column left">
    <%= render 'locked_pages' %>
    <%= render 'recent_pages' %>
  </div>
  <div class="column right">
    <% if @online_users.try(:any?) %>
      <%= render 'users' %>
    <% end %>

    <% if multi_site? %>
      <%= render 'sites' %>
    <% end %>
  </div>
</div>

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
alchemy_cms-7.0.15 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.14 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.13 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.12 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.11 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.10 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.9 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.8 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.7 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.6 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.5 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.4 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.3 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-6.1.9 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-6.1.8 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-6.1.7 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.0.0 app/views/alchemy/admin/dashboard/index.html.erb