Sha256: 6393819291ba4a18b48abcef1dd4d488c98b07de1be749eac589dd39baa7066b

Contents?: true

Size: 1.1 KB

Versions: 17

Compression:

Stored size: 1.1 KB

Contents

<%= content_for :toolbar do %>
  <div class="toolbar_buttons">
    <%= toolbar_button(
      icon: 'information',
      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'
    ) %>
  </div>
<% 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

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-7.1.13 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.12 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.8 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.7 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.6 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.5 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.4 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.3 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.0 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.0.pre.rc1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/admin/dashboard/index.html.erb