From 11e5f45658fff795db3d9b36bba4a831d178a163 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 8 Oct 2013 17:45:48 +0200 Subject: [PATCH] SONAR-4716 Add label before updated info and technical debt in issue modal --- .../src/main/resources/org/sonar/l10n/core.properties | 2 ++ .../src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 17463004372..074eb5cc246 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -516,6 +516,7 @@ issue.status.CLOSED=Closed issue.resolution.FALSE-POSITIVE=False positive issue.resolution.FIXED=Fixed issue.resolution.REMOVED=Removed +issue.updated=Updated: issue.planned_for_x=Planned for {0} issue.planned_for=Planned for issue.manual.missing_rule=Missing rule @@ -527,6 +528,7 @@ issue.component_deleted=Removed issue.changelog.changed_to={0} changed to {1} issue.changelog.was=was {0} issue.changelog.removed={0} removed +issue.technical_debt=Technical debt: issue.technical_debt.x_days={0} days issue.technical_debt.x_hours={0} hours issue.technical_debt.x_minutes={0} minutes diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb index 194b12e8af3..bdb1ebacd9f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb @@ -21,7 +21,7 @@ <% end %>   -  <%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%>   <% if issue.reporter %> @@ -33,7 +33,7 @@ <% if issue.authorLogin %>   - <%= message('issue.authorLogin') -%> <%= issue.authorLogin -%> + <%= message('issue.authorLogin') -%> <%= issue.authorLogin -%>   <% end %> <% if issue.technicalDebt %> @@ -49,7 +49,7 @@ # Do not display minutes if days is not null to not have too much information message += message('issue.technical_debt.x_minutes', :params => minutes) if minutes > 0 && days == 0 %> -  <%= message -%>   <% end %> -- 2.39.5