Mercurial > kallithea
changeset 7536:3922aa544fbb
pull requests: urlify title to make issue references clickable
Issue references and commit hashes are already clickable in:
- pull request descriptions,
- commit messages
- changelog
but not yet in:
- pull request titles
- pull request listings
This commit handles the former case.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sat, 23 Feb 2019 21:04:26 +0100 |
parents | 75f746df73e2 |
children | 9e026d2426c9 |
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 Mon Feb 18 21:17:58 2019 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Sat Feb 23 21:04:26 2019 +0100 @@ -26,7 +26,7 @@ <div class="form pr-box pull-left"> <div class="pr-details-title ${'closed' if c.pull_request.is_closed() else ''}"> <h3> - ${_('Title')}: ${c.pull_request.title} + ${_('Title')}: ${h.urlify_text(c.pull_request.title, c.pull_request.org_repo.repo_name)} %if c.pull_request.is_closed(): (${_('Closed')}) %endif