Sha256: e78e90a42952b64ea800b4e6e8f1d5479b6f54caaee85f2751856dcf7face0b1

Contents?: true

Size: 631 Bytes

Versions: 29

Compression:

Stored size: 631 Bytes

Contents

<div class="widget">
  <h2><%= _t('Your last updated pages') %>:</h2>
  <table>
  <% if @last_edited_pages.blank? %>
    <tr class="even">
      <td><%= _t('no pages') %></td>
    </tr>
  <% else %>
    <% @last_edited_pages.each do |page| %>
    <tr class="<%= cycle('even', 'odd', :name => 'edited_pages') %>">
      <td>
        <%= link_to_if((page.locked_by.blank? || page.locked_by == current_alchemy_user.id), page.name, edit_admin_page_path(page)) %>
      </td>
      <td>
        <small><%= l(page.updated_at) %></small>
      </td>
    </tr>
    <% end %>
  <% end %>
  </table>
</div>
<% reset_cycle('edited_pages') %>

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-2.9.1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/dashboard/_recent_pages.html.erb