Sha256: f68f20e47c6ebbe940d626144f39bd225e1c0ce5b31578e343426ace9db53cd5

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 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]
    }
  ],
  :search => false
) %>

<div id="dashboard">
  <h1>
    <% if @first_time -%>
    <%= _t('Welcome, %{name}', :name => current_user.firstname.blank? ? current_user.login : current_user.firstname) %>
    <% else -%>
    <%= _t('Welcome back, %{name}', :name => current_user.firstname.blank? ? current_user.login : current_user.firstname) %>
    <% end -%>
  </h1>
  <p>
    <small><%= _t('Your last login was on %{time}', :time => l(current_user.last_sign_in_at)) unless current_user.last_sign_in_at.blank? %></small>
  </p>
  <div class="column left">
    <%= render 'locked_pages' %>
    <%= render 'recent_pages' %>
  </div>
  <div class="column right">
    <%= render 'users' %>
    <% if multi_site? %>
      <%= render 'sites' %>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/dashboard/index.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/dashboard/index.html.erb