diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-05-20 11:31:09 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-05-20 11:31:09 +0200 |
commit | 42b47a0e4f095b2855f0cc7725116cf2d20a4ca4 (patch) | |
tree | afc7d854a5c3b9792d687817a9b24062ae4f68cc | |
parent | 0f7416dfd8dd1ac0c87caa35dc7ca322758266a7 (diff) | |
download | sonarqube-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.erb | 10 |
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"> </td> + <td class="val"> </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"> |