aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-05-20 18:29:57 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-05-20 18:29:57 +0200
commit2ce526e5bdbab32d9e34f8ce49b0e5fafa434782 (patch)
treec72146dacab6ff8e7ff54a3493404fc1f00a436f /sonar-server
parent2035cc0d4760b4f162b9f6af4a924977018e7dd1 (diff)
downloadsonarqube-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.erb16
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">&nbsp;</td>
- <td class="val">&nbsp;</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 %>