aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-05-20 11:31:09 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-05-20 11:31:09 +0200
commit42b47a0e4f095b2855f0cc7725116cf2d20a4ca4 (patch)
treeafc7d854a5c3b9792d687817a9b24062ae4f68cc
parent0f7416dfd8dd1ac0c87caa35dc7ca322758266a7 (diff)
downloadsonarqube-42b47a0e4f095b2855f0cc7725116cf2d20a4ca4.tar.gz
sonarqube-42b47a0e4f095b2855f0cc7725116cf2d20a4ca4.zip
SONAR-2438 Display the last update date of reviews
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb
index 5e8fcd7299e..db0aa121ed1 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb
@@ -53,6 +53,16 @@
<%= h(review.user.name) -%>, on <%= l(review.created_at, :format => :long) -%>
</td>
</tr>
+ <tr>
+ <td class="key">&nbsp;</td>
+ <td class="val">&nbsp;</td>
+ <td class="key">
+ Last updated:
+ </td>
+ <td class="val">
+ <%= distance_of_time_in_words_to_now(review.updated_at) -%> (<%= l(review.updated_at, :format => :long) -%>)
+ </td>
+ </tr>
<% if review.rule %>
<tr>
<td class="key">