From a263ab290cf8fa86070a7d4eb4f5d590cad8679c Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 24 Jan 2012 11:54:43 +0100 Subject: [PATCH] SONAR-3200 Display the date of closure on the closed action plan list --- .../src/main/resources/org/sonar/l10n/core.properties | 1 + .../main/webapp/WEB-INF/app/views/action_plans/index.html.erb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index 785960d3791..802d8947e8f 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -466,6 +466,7 @@ action_plans.col.due_for=Due for action_plans.col.progress=Progress action_plans.col.description=Description action_plans.col.author=Author +action_plans.col.closed_on=Closed on action_plans.col.operations=Operations action_plans.no_action_plan=No action plan action_plans.no_reviews_linked_to_action_plan=No reviews linked to this action plan yet. diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/index.html.erb index 89814ea7f10..c658abb8075 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/index.html.erb @@ -69,6 +69,7 @@ <%= message('action_plans.col.status') -%> <%= message('action_plans.col.name') -%> <%= message('action_plans.col.due_for') -%> + <%= message('action_plans.col.closed_on') -%> <%= message('action_plans.col.progress') -%> <%= message('action_plans.col.description') -%> <%= message('action_plans.col.author') -%> @@ -82,7 +83,8 @@ <%= h(plan.name) -%> - <%= plan.dead_line ? plan.dead_line.strftime("%d %b %Y") : ' ' -%> + <%= plan.dead_line ? plan.dead_line.strftime("%d %b %Y") : ' ' -%> + <%= plan.updated_at.strftime("%d %b %Y") -%> <% if plan.progress[:total]==0 %> <%= message('action_plans.no_reviews_linked_to_action_plan') -%> -- 2.39.5