]> 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 09:31:09 +0000 (11:31 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Fri, 20 May 2011 09:31:09 +0000 (11:31 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb

index 5e8fcd7299e83ea095bec5094b5c836f4b4552a7..db0aa121ed121dcda922ade0f3640a3acb562c93 100644 (file)
                  <%= h(review.user.name) -%>, on <%= l(review.created_at, :format => :long) -%>
           </td>
         </tr>
+        <tr>
+          <td class="key">&nbsp;</td>
+          <td  class="val">&nbsp;</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">