]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2218 fix display of commits with Hg projects
authorsimonbrandhof <simon.brandhof@gmail.com>
Tue, 8 Mar 2011 23:09:00 +0000 (00:09 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Tue, 8 Mar 2011 23:09:00 +0000 (00:09 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb

index 2fe57e4da47e6c2985eb322ad7d9a07425a5c707..6e9b128b19a2b3304b693d687b5e210a13c77fa3 100644 (file)
@@ -66,7 +66,7 @@
            current_revision=line.revision
            title = "Revision #{h(line.revision)} ยป #{l(line.datetime) if line.datetime}"
     %>
-            <td class="scm revision"><span class="date"><a href="#" title="<%= title -%>" alt="<%= title -%>"><%= l(line.date) -%></a></span> <span class="author"><%= h(line.author) -%></span></td>
+            <td class="scm revision"><span class="date"><a href="#" title="<%= title -%>" alt="<%= title -%>"><%= l(line.date) if line.date -%></a></span> <span class="author"><%= h(line.author) -%></span></td>
     <%   else %>
             <td class="scm"></td>
     <%   end