From 0c27a8077792d0a6695ef329af6d19424b4fc8c2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 6 Jul 2018 10:01:08 +0100 Subject: Don't say "Plus 0 services" ... as that doesn't make sense --- app/views/mini_environments/show.html.erb | 32 ++++++++++++++++--------------- 1 file 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 %> -<% 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 -(show revision details): - -<% multi_column = (uncustomised_services.length > 6) %> - + at the revision specified in the revision of GOV.UK Guix + (show revision details): + + <% multi_column = (uncustomised_services.length > 6) %> + +<% end %>

<% if @mini_environment.data_snapshot %> -- cgit v1.2.3