Sha256: f90358a314d8e540ec8ffb6d5879b48ec94c22ddb2480dfa447d41f143a22d25

Contents?: true

Size: 1 KB

Versions: 31

Compression:

Stored size: 1 KB

Contents

<%= toolbar(
  buttons: [
    {
      icon: 'info',
      label: Alchemy.t(:info),
      url: alchemy.dashboard_info_path,
      title: Alchemy.t(:info),
      dialog_options: {
        title: Alchemy.t(:info),
        size: "420x380"
      },
      if_permitted_to: [:info, :alchemy_admin_dashboard],
      hotkey: 'alt+i'
    }
  ],
  search: false
) %>

<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)) %></small>
  </p>
  <% end %>
  <div class="column left">
    <%= render 'locked_pages' %>
    <%= render 'recent_pages' %>
  </div>
  <div class="column right">
    <% if @online_users %>
      <%= render 'users' %>
    <% end %>
    <% if multi_site? %>
      <%= render 'sites' %>
    <% end %>
  </div>
</div>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.5.0 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.4.2 app/views/alchemy/admin/dashboard/index.html.erb