diff options
-rw-r--r-- | app/views/mini_environments/show.html.erb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb index 203fb62..6b7871d 100644 --- a/app/views/mini_environments/show.html.erb +++ b/app/views/mini_environments/show.html.erb @@ -125,7 +125,12 @@ License along with the GOV.UK Mini Environment Admin. If not, see <% end %> </ul> -Plus <%= uncustomised_services.length %> other services at the revision specified in the revision of GOV.UK Guix +<% 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>): |