aboutsummaryrefslogtreecommitdiff
blob: af54ce132115ad5066be3c258ba2b51eb46dadc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<ol class="breadcrumb">
  <li><a href="/">Home</a></li>
  <li><%= link_to t(:packages), categories_path %></li>
  <li class="active"><%= t :updated_packages %></li>
</ol>

<h1>
  <%= t :updated_packages %>
  <%= feed_icon updated_packages_path(format: :atom) %>
</h1>

<% cache("updated-full-#{@changes.hash}") do %>
  <ul class="list-group">
    <% @changes.each do |change|
         _package = PackageRepository.find_by(:atom, cp_to_atom(change.category, change.package)) %>
      <%= render partial: 'changed_package', object: change, as: 'change', locals: { package: _package, version: _package.version(change.version) } %>
    <% end %>
  </ul>
<% end %>

<% content_for :head do %>
  <%= alternate_feed_link(updated_packages_url(format: :atom), t(:atom_feed)) %>
<% end %>