---
layout: application_layout
parent: /apps.html
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml
edit_url: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml
---

<%= application.description %>

This application is retired.

<% if application.retired? %>
<ul>
  <li><%= link_to "GitHub repo", application.repo_url %></li>
</ul>

<% else %>

<% if application.team %>
Owned by team **<%= application.team %>**.
<% else %>
The team that owns this application isn't specified. Help out by
[adding a team name to the YAML configuration][app-yaml].
<% end %>

<ul>
  <li><%= link_to "GitHub repo", application.repo_url %></li>
  <li><%= link_to "Puppet configuration", application.puppet_url %></li>
  <li><%= link_to "Deploy scripts", application.deploy_url %></li>

  <% if application.production_url %>
    <li><%= link_to application.production_url.gsub('https://', ''), application.production_url %></li>
  <% end %>
</ul>

<% end %>

<%= partial 'partials/source', locals: { page: current_page.data } %>

[app-yaml]: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml

---
layout: application_layout
parent: /apps.html
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml
edit_url: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml
---

<%= application.description %>

<% if application.retired? %>

This application is retired.

<ul>
  <li><%= link_to "GitHub repo", application.repo_url %></li>
</ul>

<% else %>

<% if application.team %>
Owned by team **<%= application.team %>**.
<% else %>
The team that owns this application isn't specified. Help out by
[adding a team name to the YAML configuration][app-yaml].
<% end %>

<ul>
  <li><%= link_to "GitHub repo", application.repo_url %></li>
  <li><%= link_to "Puppet configuration", application.puppet_url %></li>
  <li><%= link_to "Deploy scripts", application.deploy_url %></li>

  <% if application.production_url %>
    <li><%= link_to application.production_url.gsub('https://', ''), application.production_url %></li>
  <% end %>
</ul>

<% end %>

<%= partial 'partials/source', locals: { page: current_page.data } %>

[app-yaml]: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml

Fix bug in showing which repos are retired
Fix bug in showing which repos are retired

"This application is retired." is currently showing everywhere.
