Mercurial > kallithea
comparison rhodecode/templates/changeset/diff_block.html @ 3400:35f45d0025a7 beta
use shorter revs in diff block
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 25 Feb 2013 21:00:22 +0100 |
parents | 674a8fad3abc |
children | efc00d363d1e |
comparison
equal
deleted
inserted
replaced
3399:5ff79fad209c | 3400:35f45d0025a7 |
---|---|
47 <div id="${h.FID('',filenode_path)}" class="diffblock margined comm"> | 47 <div id="${h.FID('',filenode_path)}" class="diffblock margined comm"> |
48 <div class="code-header"> | 48 <div class="code-header"> |
49 <div class="changeset_header"> | 49 <div class="changeset_header"> |
50 <div class="changeset_file"> | 50 <div class="changeset_file"> |
51 ${h.safe_unicode(filenode_path)} | | 51 ${h.safe_unicode(filenode_path)} | |
52 <a class="spantag" href="${h.url('files_home', repo_name=c.repo_name, f_path=filenode_path, revision=c.org_ref)}">${c.org_ref_type}@${c.org_ref}</a> -> | 52 <a class="spantag" href="${h.url('files_home', repo_name=c.repo_name, f_path=filenode_path, revision=c.org_ref)}" title="${_('show file at latest version in this repo')}">${c.org_ref_type}@${h.short_id(c.org_ref) if c.org_ref_type=='rev' else c.org_ref}</a> -> |
53 <a class="spantag" href="${h.url('files_home', repo_name=c.repo_name, f_path=filenode_path, revision=c.other_ref)}">${c.other_ref_type}@${c.other_ref}</a> | 53 <a class="spantag" href="${h.url('files_home', repo_name=c.repo_name, f_path=filenode_path, revision=c.other_ref)}" title="${_('show file at initial version in this repo')}">${c.other_ref_type}@${h.short_id(c.other_ref) if c.other_ref_type=='rev' else c.other_ref}</a> |
54 </div> | 54 </div> |
55 </div> | 55 </div> |
56 </div> | 56 </div> |
57 <div class="code-body"> | 57 <div class="code-body"> |
58 <div class="full_f_path" path="${h.safe_unicode(filenode_path)}"></div> | 58 <div class="full_f_path" path="${h.safe_unicode(filenode_path)}"></div> |