changeset 4321:f4c9b0f76d79

pull requests: urlify of hashes in PR description should point at the source repo
author Mads Kiilerich <madski@unity3d.com>
date Fri, 18 Jul 2014 18:44:54 +0200
parents 486cd40776c2
children 96bd919192b0
files kallithea/templates/pullrequests/pullrequest_show.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/pullrequests/pullrequest_show.html	Fri Jul 18 18:44:54 2014 +0200
+++ b/kallithea/templates/pullrequests/pullrequest_show.html	Fri Jul 18 18:44:54 2014 +0200
@@ -108,7 +108,7 @@
               <label>${_('Description')}:</label>
           </div>
           <div class="input">
-              <div style="white-space:pre-wrap">${h.urlify_commit(c.pull_request.description, c.repo_name)}</div>
+              <div style="white-space:pre-wrap">${h.urlify_commit(c.pull_request.description, c.pull_request.org_repo.repo_name)}</div>
           </div>
          </div>
          <div class="field">