aboutsummaryrefslogtreecommitdiff
blob: 9cb9b6c1fa1dbf940f48df4a127d5bd388f7c29d (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 class="breadcrumb-item"><a href="/">Home</a></li>
  <li class="breadcrumb-item"><%= link_to t(:packages), categories_path %></li>
  <li class="breadcrumb-item active"><%= t :stable_packages %></li>
</ol>

<h1>
  <%= t :stable_packages %>
  <%= feed_icon stable_packages_path(format: :atom) %>
</h1>

<% cache("stable-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(stable_packages_url(format: :atom), t(:atom_feed)) %>
<% end %>