Sha256: efa564bf2652329578fc935ae9d7feedf99d379122646a55729f613195ddacfe

Contents?: true

Size: 912 Bytes

Versions: 25

Compression:

Stored size: 912 Bytes

Contents

<div class="widget">
  <h2><%= Alchemy.t('Your last updated pages') %>:</h2>
  <table>
  <% if @last_edited_pages.blank? %>
    <tr class="even">
      <td><%= Alchemy.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>
      <% if multi_site? %>
      <td>
        <small><%= page.site_name %></small>
      </td>
      <% end %>
      <td>
        <% if page.site_languages.many? %>
        <small><%= page.language.code.upcase %></small>
        <% end %>
      </td>
      <td>
        <small><%= l(page.updated_at, format: :short) %></small>
      </td>
    </tr>
    <% end %>
  <% end %>
  </table>
</div>
<% reset_cycle('edited_pages') %>

Version data entries

25 entries across 25 versions & 1 rubygems

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