Sha256: 1a6bc3e51aed10dfa79b21b000529a84c1e4773b3b792222fbf0373fb0e9c092

Contents?: true

Size: 990 Bytes

Versions: 170

Compression:

Stored size: 990 Bytes

Contents

<div class="widget">
  <table class="list">
    <tr>
      <th colspan="4"><%= Alchemy.t('Your last updated pages') %></th>
    </tr>
  <% if @last_edited_pages.blank? %>
    <tr class="even">
      <td colspan="4"><%= 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: :'alchemy.short_datetime') %></small>
      </td>
    </tr>
    <% end %>
  <% end %>
  </table>
</div>
<% reset_cycle('edited_pages') %>

Version data entries

170 entries across 170 versions & 1 rubygems

Version Path
alchemy_cms-7.4.0 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.3.5 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.2.8 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.1.13 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.0.16 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.2.7 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/dashboard/widgets/_recent_pages.html.erb
alchemy_cms-7.2.6 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.2.5 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.1.12 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.0.15 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-6.1.10 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.2.4 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.2.3 app/views/alchemy/admin/dashboard/_recent_pages.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/dashboard/_recent_pages.html.erb