diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2011-05-20 18:29:57 +0200 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2011-05-20 18:29:57 +0200 |
commit | 2ce526e5bdbab32d9e34f8ce49b0e5fafa434782 (patch) | |
tree | c72146dacab6ff8e7ff54a3493404fc1f00a436f /sonar-server | |
parent | 2035cc0d4760b4f162b9f6af4a924977018e7dd1 (diff) | |
download | sonarqube-2ce526e5bdbab32d9e34f8ce49b0e5fafa434782.tar.gz sonarqube-2ce526e5bdbab32d9e34f8ce49b0e5fafa434782.zip |
SONAR-2438 Display the last update date of reviews
Improve UI
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb | 16 |
1 files 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 @@ </span> </td> <td class="key"> - Created by: + Author: </td> <td class="val"> - <%= h(review.user.name) -%>, on <%= l(review.created_at, :format => :long) -%> + <%= h(review.user.name) -%> </td> </tr> <tr> - <td class="key"> </td> - <td class="val"> </td> <td class="key"> - Last updated: + Created: + </td> + <td class="val"> + <%= l(review.created_at, :format => "%m/%b/%y %H:%M") -%> + </td> + <td class="key"> + Updated: </td> <td class="val"> - <%= 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") -%> </td> </tr> <% if review.rule %> |