diff options
-rw-r--r-- | app/views/mini_environments/show.html.erb | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb index 0f166f6..5a6de0b 100644 --- a/app/views/mini_environments/show.html.erb +++ b/app/views/mini_environments/show.html.erb @@ -125,22 +125,24 @@ License along with the GOV.UK Mini Environment Admin. If not, see <% end %> </ul> -<% if customised_services.any? %> - Plus <%= pluralize(uncustomised_services.length, 'other service') %> -<% else %> - <%= pluralize(uncustomised_services.length, 'service') %> -<% end %> -at the revision specified in the revision of GOV.UK Guix -(<a - href="<%= govuk_guix_revision_path @mini_environment.govuk_guix_revision %>" - >show revision details</a>): - -<% multi_column = (uncustomised_services.length > 6) %> -<ul <% if multi_column %>class="row"<% end %>> - <% uncustomised_services.each do |service| %> - <li <% if multi_column %>class="col-xs-12 col-sm-6 col-md-3"<% end %>><%= service.name %></li> +<% if uncustomised_services.any? %> + <% if customised_services.any? %> + Plus <%= pluralize(uncustomised_services.length, 'other service') %> + <% else %> + <%= pluralize(uncustomised_services.length, 'service') %> <% end %> -</ul> + at the revision specified in the revision of GOV.UK Guix + (<a + href="<%= govuk_guix_revision_path @mini_environment.govuk_guix_revision %>" + >show revision details</a>): + + <% multi_column = (uncustomised_services.length > 6) %> + <ul <% if multi_column %>class="row"<% end %>> + <% uncustomised_services.each do |service| %> + <li <% if multi_column %>class="col-xs-12 col-sm-6 col-md-3"<% end %>><%= service.name %></li> + <% end %> + </ul> +<% end %> <p> <% if @mini_environment.data_snapshot %> |