<%# GOV.UK Mini Environment Admin Copyright © 2018 Christopher Baines This file is part of the GOV.UK Mini Environment Admin. The GOV.UK Mini Environment Admin is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The GOV.UK Mini Environment Admin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with the GOV.UK Mini Environment Admin. If not, see . %> Back to Setup

Revision: <%= @revision.commit_hash %>

Store path

<%= @revision.store_path %>
<% if @revision.mini_environments.any? %>

There <%= @revision.mini_environments.count == 1 ? 'is' : 'are' %> <%= pluralize(@revision.mini_environments.count, 'mini environment') %> using this revision

<% @revision.mini_environments.each do |mini_environment| %> <%= mini_environment.name %> <% end %>
<% else %>

There are no mini environments using this revision

<% end %>

Available Services

<% (@revision.available_services || []).each do |group| %>

<%= group["name"] %>

<%= group["description"] %>

<% group["services"].each do |service| %> <% package = service["package"] %> <% end %>
Name Description Package
<%= service["name"] %> <%= service["description"] %> "> <%= package["version"] %> ">[homepage]
<% end %>