Sha256: 38a9d4bcc26a501e0e335ac178494290a9205399b2b6d42e8966cd37bf1ac448

Contents?: true

Size: 991 Bytes

Versions: 3

Compression:

Stored size: 991 Bytes

Contents

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

<div id="dashboard">
  <h1>
    <% if @first_time -%>
    <%= _t(:welcome_note, name: current_alchemy_user.try(:name)) %>
    <% else -%>
    <%= _t(:welcome_back_note, name: current_alchemy_user.try(:name)) %>
    <% end -%>
  </h1>
  <% 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

3 entries across 3 versions & 1 rubygems

Version Path
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/dashboard/index.html.erb