summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-09 00:09:00 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-09 00:09:00 +0100
commitc381af0a05f37a85fad36ff9a2578542a642254d (patch)
tree10ab1ee627295878951f110b25b81f6be483c73a /sonar-server
parent4be8b53738bd6dd2a02c0bb9f1952d3cf6d9a361 (diff)
downloadsonarqube-c381af0a05f37a85fad36ff9a2578542a642254d.tar.gz
sonarqube-c381af0a05f37a85fad36ff9a2578542a642254d.zip
SONAR-2218 fix display of commits with Hg projects
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
index 2fe57e4da47..6e9b128b19a 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
@@ -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