Mercurial > kallithea
comparison rhodecode/templates/forks/forks_data.html @ 3322:c9b0f1d363c7 beta
compare: swap org and other when they refer to different repos, ie are pull request style
Pull requests will have a different from/to description - but in a consistent
and slightly better way that can be improved later.
A pull request diff is empathic: "How will this look for the peer I'm proposing to" style.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 01 Feb 2013 23:13:10 +0100 |
parents | b36285f90f89 |
children | ec6354949623 |
comparison
equal
deleted
inserted
replaced
3321:a91fa221a3b8 | 3322:c9b0f1d363c7 |
---|---|
15 </div> | 15 </div> |
16 <div style="clear:both;padding-top: 10px"></div> | 16 <div style="clear:both;padding-top: 10px"></div> |
17 <div class="follower_date">${_('forked')} - | 17 <div class="follower_date">${_('forked')} - |
18 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> | 18 <span class="tooltip" title="${h.tooltip(h.fmt_date(f.created_on))}"> ${h.age(f.created_on)}</span> |
19 <a title="${_('compare fork with %s' % c.repo_name)}" | 19 <a title="${_('compare fork with %s' % c.repo_name)}" |
20 href="${h.url('compare_url',repo_name=f.repo_name,org_ref_type='branch',org_ref='default',other_repo=c.repo_name,other_ref_type='branch',other_ref='default')}" | 20 href="${h.url('compare_url',repo_name=c.repo_name,org_ref_type='branch',org_ref='default',other_repo=f.repo_name,other_ref_type='branch',other_ref='default')}" |
21 class="ui-btn small">${_('Compare fork')}</a> | 21 class="ui-btn small">${_('Compare fork')}</a> |
22 </div> | 22 </div> |
23 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> | 23 <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div> |
24 </div> | 24 </div> |
25 % endfor | 25 % endfor |