]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2438 Display the last update date of reviews
authorFabrice Bellingard <bellingard@gmail.com>
Fri, 20 May 2011 16:29:57 +0000 (18:29 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Fri, 20 May 2011 16:29:57 +0000 (18:29 +0200)
Improve UI

sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb

index db0aa121ed121dcda922ade0f3640a3acb562c93..e3364c011d0af8b804e48c197b38c02cd3a6a2bf 100644 (file)
             </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 %>