Mercurial > kallithea
changeset 551:f57aaf673743
fixed initial commit missing parents div,
and some small fix to code stats divs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Oct 2010 11:36:23 +0200 |
parents | 342f8434ed14 |
children | 2642f128ad46 |
files | rhodecode/public/css/style.css rhodecode/templates/changeset/changeset.html |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/style.css Wed Oct 06 11:27:41 2010 +0200 +++ b/rhodecode/public/css/style.css Wed Oct 06 11:36:23 2010 +0200 @@ -3013,6 +3013,7 @@ height: 12px; margin-bottom: 4px; margin-left: 5px; + white-space: pre; } #clone_url{
--- a/rhodecode/templates/changeset/changeset.html Wed Oct 06 11:27:41 2010 +0200 +++ b/rhodecode/templates/changeset/changeset.html Wed Oct 06 11:36:23 2010 +0200 @@ -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>