From 2ce526e5bdbab32d9e34f8ce49b0e5fafa434782 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Fri, 20 May 2011 18:29:57 +0200 Subject: [PATCH] SONAR-2438 Display the last update date of reviews Improve UI --- .../WEB-INF/app/views/reviews/_review.html.erb | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 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 db0aa121ed1..e3364c011d0 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 @@ -47,20 +47,24 @@ - Created by: + Author: - <%= h(review.user.name) -%>, on <%= l(review.created_at, :format => :long) -%> + <%= h(review.user.name) -%> -   -   - Last updated: + Created: + + + <%= l(review.created_at, :format => "%m/%b/%y %H:%M") -%> + + + Updated: - <%= distance_of_time_in_words_to_now(review.updated_at) -%> (<%= l(review.updated_at, :format => :long) -%>) + <%= l(review.updated_at, :format => "%m/%b/%y %H:%M") -%> <% if review.rule %> -- 2.39.5