changeset 2667:129beb0062c2 beta

fixed wrong repo reference in my pull-requests page
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 26 Jul 2012 22:22:31 +0200
parents c51fb1da6df2
children f0851f37d6be
files rhodecode/templates/admin/users/user_edit_my_account_pullrequests.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account_pullrequests.html	Thu Jul 26 22:14:40 2012 +0200
+++ b/rhodecode/templates/admin/users/user_edit_my_account_pullrequests.html	Thu Jul 26 22:22:31 2012 +0200
@@ -3,7 +3,7 @@
 <ul>
     %for pull_request in c.my_pull_requests:
     <li>
-    <a href="${h.url('pullrequest_show',repo_name=pull_request.org_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
+    <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
     ${_('Pull request #%s opened on %s') % (pull_request.pull_request_id, h.fmt_date(pull_request.created_on))}
     </a>
     </li>
@@ -14,7 +14,7 @@
 <ul>
     %for pull_request in c.participate_in_pull_requests:
     <li>
-    <a href="${h.url('pullrequest_show',repo_name=pull_request.org_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
+    <a href="${h.url('pullrequest_show',repo_name=pull_request.other_repo.repo_name,pull_request_id=pull_request.pull_request_id)}">
     ${_('Pull request #%s opened by %s on %s') % (pull_request.pull_request_id, pull_request.author.full_name, h.fmt_date(pull_request.created_on))}
     </a>
     </li>