summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-16 15:15:14 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-16 15:15:14 +0100
commit705171c0d42cb1fbe930466a6c0a8e5291f7cff7 (patch)
tree2868ee13a20ab8d5c1f5836bdbd4ce43ed3bab12
parent5265f27d629d5501456706c6708cf1f310820500 (diff)
downloadsonarqube-705171c0d42cb1fbe930466a6c0a8e5291f7cff7.tar.gz
sonarqube-705171c0d42cb1fbe930466a6c0a8e5291f7cff7.zip
SONAR-4977 The Issue's updated field should use the update date instead of the creation date
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb2
1 files changed, 1 insertions, 1 deletions
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 8f7e4236b32..4e16f08f412 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
@@ -22,7 +22,7 @@
<img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>
&nbsp;
<%= message('issue.updated') -%>&nbsp;<a href="#" onclick="return toggleIssueChangelog(this)" class="gray issue-changelog-link"
- id="toggle-issue-changelog"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.creationDate())) -%></a>
+ id="toggle-issue-changelog"><%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(issue.updateDate())) -%></a>
&nbsp;
<% if issue.reporter %>
<img src="<%= ApplicationController.root_context -%>/images/sep12.png"/>