Sha256: bb694da579778e886560187fe7d543806a1125fb99dd7b0322cab6ed766b5c03

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

<%= toolbar(
  buttons: [
    {
      icon: 'info',
      label: _t(:info),
      url: alchemy.dashboard_info_path,
      title: _t(:info),
      overlay_options: {
        title: _t(:info),
        size: "420x360"
      },
      if_permitted_to: [:info, :alchemy_admin_dashboard],
     hotkey: 'alt-i'
    }
  ],
  search: false
) %>

<div id="dashboard">
  <% if current_alchemy_user.respond_to?(:name) %>
  <h1>
    <% if @first_time -%>
    <%= _t(:welcome_note, name: current_alchemy_user.name) %>
    <% else -%>
    <%= _t(:welcome_back_note, name: current_alchemy_user.name) %>
    <% end -%>
  </h1>
  <% end %>
  <% if @last_sign_at %>
  <p>
    <small><%= _t('Your last login was on %{time}', 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

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/dashboard/index.html.erb