Show More
@@ -78,6 +78,7 b' class CompareController(BaseRepoControll' | |||
|
78 | 78 | |
|
79 | 79 | c.statuses = c.rhodecode_db_repo.statuses([x.raw_id for x in |
|
80 | 80 | c.cs_ranges]) |
|
81 | c.target_repo = c.repo_name | |
|
81 | 82 | # defines that we need hidden inputs with changesets |
|
82 | 83 | c.as_form = request.GET.get('as_form', False) |
|
83 | 84 | if request.environ.get('HTTP_X_PARTIAL_XHR'): |
@@ -246,7 +246,7 b' class PullrequestsController(BaseRepoCon' | |||
|
246 | 246 | c.pull_request_reviewers |
|
247 | 247 | ) |
|
248 | 248 | c.changeset_statuses = ChangesetStatus.STATUSES |
|
249 | ||
|
249 | c.target_repo = c.pull_request.org_repo.repo_name | |
|
250 | 250 | return render('/pullrequests/pullrequest_show.html') |
|
251 | 251 | |
|
252 | 252 | @jsonify |
@@ -12,7 +12,7 b'' | |||
|
12 | 12 | <div title="${c.statuses[cs.raw_id][1]}" class="changeset-status-ico"><img src="${h.url('/images/icons/flag_status_%s.png' % c.statuses[cs.raw_id][0])}" /></div> |
|
13 | 13 | %endif |
|
14 | 14 | </td> |
|
15 |
<td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c. |
|
|
15 | <td>${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.target_repo,revision=cs.raw_id))} | |
|
16 | 16 | %if c.as_form: |
|
17 | 17 | ${h.hidden('revisions',cs.raw_id)} |
|
18 | 18 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now