From d78763d35c71661127e9bbcb9650459b3ac3ccdf Mon Sep 17 00:00:00 2001 From: Takenori Takaki Date: Wed, 28 Feb 2024 12:02:53 +0900 Subject: [PATCH 1/2] Enable to display subproject count --- app/views/projects/show.html.erb | 5 ++++- test/functional/projects_controller_test.rb | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index a1035927f..39a2a2886 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -133,7 +133,10 @@ <% if @subprojects.any? %>
-

<%=l(:label_subproject_plural)%>

+

+ <%=l(:label_subproject_plural)%> + <%= @subprojects.count %> +