diff rhodecode/templates/forks/forks_data.html @ 3317:b36285f90f89 beta

compare: rename optional compare_url parameter repo to other_repo At the same time it is placed before other_ref_type and other_ref. Just to keep a logical flow and (a new) consistency that will help the next refactoring.
author Mads Kiilerich <madski@unity3d.com>
date Fri, 01 Feb 2013 23:13:10 +0100
parents c20adbaf16af
children c9b0f1d363c7
line wrap: on
line diff
--- a/rhodecode/templates/forks/forks_data.html	Mon Feb 04 02:00:48 2013 +0100
+++ b/rhodecode/templates/forks/forks_data.html	Fri Feb 01 23:13:10 2013 +0100
@@ -17,7 +17,7 @@
             <div class="follower_date">${_('forked')} -
                 <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)}"
+                    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')}"
                     class="ui-btn small">${_('Compare fork')}</a>
             </div>
             <div style="border-bottom: 1px solid #DDD;margin:10px 0px 10px 0px"></div>