# HG changeset patch # User Thomas De Schampheleire # Date 1517949288 -3600 # Node ID ae81bcb8a93deaa5922ea73316bbe0e9a76c50a5 # Parent 51906236eed3fcfbb6c06f997f4632f0c291b8ef HTML email templates: make pullrequest title a hyperlink This commit makes the entirety of PR nice id _and_ PR title clickable, rather than only the PR nice id. diff -r 51906236eed3 -r ae81bcb8a93d kallithea/templates/email_templates/pull_request.html --- a/kallithea/templates/email_templates/pull_request.html Tue Feb 06 21:28:13 2018 +0100 +++ b/kallithea/templates/email_templates/pull_request.html Tue Feb 06 21:34:48 2018 +0100 @@ -22,8 +22,7 @@
${pr_nice_id} - "${pr_title}" + href="${pr_url}">${pr_nice_id} "${pr_title}" ${_('by')} ${pr_owner.full_name_and_username}.
diff -r 51906236eed3 -r ae81bcb8a93d kallithea/templates/email_templates/pull_request_comment.html --- a/kallithea/templates/email_templates/pull_request_comment.html Tue Feb 06 21:28:13 2018 +0100 +++ b/kallithea/templates/email_templates/pull_request_comment.html Tue Feb 06 21:34:48 2018 +0100 @@ -30,8 +30,7 @@
${pr_nice_id} - "${pr_title}" + href="${pr_url}">${pr_nice_id} "${pr_title}" ${_('by')} ${pr_owner.full_name_and_username}.
diff -r 51906236eed3 -r ae81bcb8a93d kallithea/tests/models/test_dump_html_mails.ref.html --- a/kallithea/tests/models/test_dump_html_mails.ref.html Tue Feb 06 21:28:13 2018 +0100 +++ b/kallithea/tests/models/test_dump_html_mails.ref.html Tue Feb 06 21:34:48 2018 +0100 @@ -969,8 +969,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -1158,8 +1157,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -1377,8 +1375,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -1542,8 +1539,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -1725,8 +1721,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -1908,8 +1903,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -2090,8 +2084,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -2272,8 +2265,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -2460,8 +2452,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).
@@ -2648,8 +2639,7 @@
#7 - "The Title" + href="http://pr.org/7">#7 "The Title" by u2 u3 (u2).