Mercurial > kallithea
changeset 2580:099bd065f47b beta
Added compare link in forks list
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 10 Jul 2012 22:52:39 +0200 |
parents | c344a7fca2a7 |
children | ee980eadc4b1 |
files | rhodecode/templates/forks/forks_data.html |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/forks/forks_data.html Tue Jul 10 22:42:42 2012 +0200 +++ b/rhodecode/templates/forks/forks_data.html Tue Jul 10 22:52:39 2012 +0200 @@ -15,7 +15,11 @@ </div> <div style="clear:both;padding-top: 10px"></div> <div class="follower_date">${_('forked')} - - <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span></div> + <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> + <a title="${_('compare fork with %s' % c.repo_name)}" + href="${h.url('compare_url',repo_name=f.repo_name,org_ref_type='branch',org_ref='default',other_ref_type='branch',other_ref='default', repo=c.repo_name)}" + class="ui-btn small">${_('Compare fork')}</a> + </div> <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> </div> % endfor