aboutsummaryrefslogtreecommitdiff
path: root/rhodecode
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2010-10-06 11:36:23 +0200
committerMarcin Kuzminski <marcin@python-works.com>2010-10-06 11:36:23 +0200
commitd8d9aa98c90fb06275142bea69fd6658ecdbd16e (patch)
treeee7bbb8f4f19f70e81a0f727d8cb37b4cb5af48b /rhodecode
parentce16f44c9853eea8f096625c9c2106509b261069 (diff)
fixed initial commit missing parents div,
and some small fix to code stats divs
Diffstat (limited to 'rhodecode')
-rw-r--r--rhodecode/public/css/style.css1
-rw-r--r--rhodecode/templates/changeset/changeset.html7
2 files changed, 7 insertions, 1 deletions
diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css
index ccf3bb85..4b475967 100644
--- a/rhodecode/public/css/style.css
+++ b/rhodecode/public/css/style.css
@@ -3013,6 +3013,7 @@ div.form div.fields div.buttons input
height: 12px;
margin-bottom: 4px;
margin-left: 5px;
+ white-space: pre;
}
#clone_url{
diff --git a/rhodecode/templates/changeset/changeset.html b/rhodecode/templates/changeset/changeset.html
index 54cbd4cd..88ccc318 100644
--- a/rhodecode/templates/changeset/changeset.html
+++ b/rhodecode/templates/changeset/changeset.html
@@ -57,12 +57,17 @@
<div class="merge">
${_('merge')}<img alt="merge" src="/images/icons/arrow_join.png"/>
</div>
- %endif
+ %endif
+
+ %if c.changeset.parents:
%for p_cs in reversed(c.changeset.parents):
<div class="parent">${_('Parent')} ${p_cs.revision}: ${h.link_to(p_cs.short_id,
h.url('changeset_home',repo_name=c.repo_name,revision=p_cs.short_id),title=p_cs.message)}
</div>
%endfor
+ %else:
+ <div class="parent">${_('No parents')}</div>
+ %endif
<span class="logtags">
<span class="branchtag" title="${'%s %s' % (_('branch'),c.changeset.branch)}">
${h.link_to(c.changeset.branch,h.url('files_home',repo_name=c.repo_name,revision=c.changeset.short_id))}</span>