changeset 7537:9e026d2426c9

pull requests: urlify pull request lists 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 The previous commit handled the former case, this commit handles the latter.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sat, 23 Feb 2019 21:10:59 +0100
parents 3922aa544fbb
children 74ec3a3bfdc7
files kallithea/templates/pullrequests/pullrequest_data.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/pullrequests/pullrequest_data.html	Sat Feb 23 21:04:26 2019 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Sat Feb 23 21:10:59 2019 +0100
@@ -32,7 +32,7 @@
       </td>
       <td>
         <a href="${pr.url()}">
-        ${pr.title or _("(no title)")}
+        ${h.urlify_text(pr.title or _("(no title)"), pr.org_repo.repo_name, pr.url())}
         %if pr.is_closed():
           <span class="pr-closed-tag">${_('Closed')}</span>
         %endif