##// END OF EJS Templates
show links to files on compare data at other and org refs
marcink -
r3357:674a8fad beta
parent child Browse files
Show More
@@ -137,7 +137,9 b' class CompareController(BaseRepoControll'
137 return render('compare/compare_cs.html')
137 return render('compare/compare_cs.html')
138
138
139 c.org_ref = org_ref[1]
139 c.org_ref = org_ref[1]
140 c.org_ref_type = org_ref[0]
140 c.other_ref = other_ref[1]
141 c.other_ref = other_ref[1]
142 c.other_ref_type = other_ref[0]
141
143
142 if ancestor and c.org_repo != c.other_repo:
144 if ancestor and c.org_repo != c.other_repo:
143 # case we want a simple diff without incoming changesets,
145 # case we want a simple diff without incoming changesets,
@@ -283,7 +283,9 b' class PullrequestsController(BaseRepoCon'
283 c.as_form = request.GET.get('as_form', False)
283 c.as_form = request.GET.get('as_form', False)
284
284
285 c.org_ref = org_ref[1]
285 c.org_ref = org_ref[1]
286 c.org_ref_type = org_ref[0]
286 c.other_ref = other_ref[1]
287 c.other_ref = other_ref[1]
288 c.other_ref_type = other_ref[0]
287
289
288 diff_limit = self.cut_off_limit if not fulldiff else None
290 diff_limit = self.cut_off_limit if not fulldiff else None
289
291
@@ -48,7 +48,9 b''
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 <a href="#">${h.safe_unicode(filenode_path)}</a>
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> -&gt;
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>
52 </div>
54 </div>
53 </div>
55 </div>
54 </div>
56 </div>
General Comments 0
You need to be logged in to leave comments. Login now