]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3755 fix display of creation date
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 3 May 2013 07:33:43 +0000 (09:33 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 3 May 2013 07:33:43 +0000 (09:33 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/issue/_issue.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/issues/_list.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_issue.html.erb

index a299a07569c4e4c06f39145f17d6e67fd2949ca6..9c20ecb21b8ee42b5e0745f25d26a8b2c4b5d455 100644 (file)
         <%= message('created') -%>:
       </td>
       <td class="val">
-        <%= l(to_date(@issue.created_at)) -%>
+        <%= l(to_date(@issue.creationDate())) -%>
       </td>
       <td class="key">
         <%= message('updated') -%>:
       </td>
       <td class="val">
-        <%= l(to_date(@issue.updated_at)) if @issue.updated_at -%>
+        <%= l(to_date(@issue.updateDate())) if @issue.updateDate() -%>
       </td>
     </tr>
 
index d0b5db736a1112adb6503a4fa551b2e6e61c39da..37f8a78c38e9e39d2e8b6e8819b8a13a0c82f90d 100644 (file)
           <%= issue.attributes -%>
         </td>
         <td>
-          <%= issue.created_at -%>
+          <%= issue.creationDate() -%>
         </td>
         <td>
-          <%= issue.updated_at -%>
+          <%= issue.updateDate() -%>
         </td>
         <td>
-          <%= issue.closed_at -%>
+          <%= issue.closeDate() -%>
         </td>
       </tr>
     <%
index 7d1127502dd1d52bde0c912a6f53e8732a8130b0..30bed8226d52b9c9a651cb5b7c71778b1ffff7e5 100644 (file)
@@ -17,7 +17,7 @@
       <%= image_tag 'sep12.png' -%>
       &nbsp;
 
-      <span><%= distance_of_time_in_words_to_now(to_date(issue.created_at)) -%></span>
+      <span><%= distance_of_time_in_words_to_now(to_date(issue.creationDate())) -%></span>
       &nbsp;
       <%
          if issue.resolution == 'FALSE-POSITIVE'