From: Simon Brandhof Date: Fri, 3 May 2013 07:33:43 +0000 (+0200) Subject: SONAR-3755 fix display of creation date X-Git-Tag: 3.6~477 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6194a1a3e19cd026da8806ccf84ebc8a22524b1d;p=sonarqube.git SONAR-3755 fix display of creation date --- 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 a299a07569c..9c20ecb21b8 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 @@ -73,13 +73,13 @@ <%= message('created') -%>: - <%= l(to_date(@issue.created_at)) -%> + <%= l(to_date(@issue.creationDate())) -%> <%= message('updated') -%>: - <%= l(to_date(@issue.updated_at)) if @issue.updated_at -%> + <%= l(to_date(@issue.updateDate())) if @issue.updateDate() -%> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb index d0b5db736a1..37f8a78c38e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb @@ -102,13 +102,13 @@ <%= issue.attributes -%> - <%= issue.created_at -%> + <%= issue.creationDate() -%> - <%= issue.updated_at -%> + <%= issue.updateDate() -%> - <%= issue.closed_at -%> + <%= issue.closeDate() -%> <% diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_issue.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_issue.html.erb index 7d1127502dd..30bed8226d5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_issue.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_issue.html.erb @@ -17,7 +17,7 @@ <%= image_tag 'sep12.png' -%>   - <%= distance_of_time_in_words_to_now(to_date(issue.created_at)) -%> + <%= distance_of_time_in_words_to_now(to_date(issue.creationDate())) -%>   <% if issue.resolution == 'FALSE-POSITIVE'