diff --git a/kallithea/model/notification.py b/kallithea/model/notification.py --- a/kallithea/model/notification.py +++ b/kallithea/model/notification.py @@ -339,6 +339,7 @@ class EmailNotificationModel(BaseModel): _kwargs.update({ "default_style": "%(sans_style)s;font-weight:200;font-size:14px;line-height:17px;color:%(color_text)s" % _kwargs, "comment_style": "%(monospace_style)s;white-space:pre-wrap" % _kwargs, + "emph_style": "font-weight:600;color:%(color_emph)s" % _kwargs, }) log.debug('rendering tmpl %s with kwargs %s', base, _kwargs) diff --git a/kallithea/templates/email_templates/comment.html b/kallithea/templates/email_templates/comment.html --- a/kallithea/templates/email_templates/comment.html +++ b/kallithea/templates/email_templates/comment.html @@ -8,7 +8,7 @@ -
${author}
+
${author}
diff --git a/kallithea/templates/email_templates/header.html b/kallithea/templates/email_templates/header.html --- a/kallithea/templates/email_templates/header.html +++ b/kallithea/templates/email_templates/header.html @@ -10,10 +10,10 @@ %if link is not None: - ${title} %else: - ${title} + ${title} %endif diff --git a/kallithea/tests/models/test_dump_html_mails.ref.html b/kallithea/tests/models/test_dump_html_mails.ref.html --- a/kallithea/tests/models/test_dump_html_mails.ref.html +++ b/kallithea/tests/models/test_dump_html_mails.ref.html @@ -54,7 +54,7 @@ View Comment: http://comment.org - Comment on Changeset "This changeset did something clever which is hard to explain" @@ -211,7 +211,7 @@ View Comment: http://comment.org - Mention in Comment on Changeset "This changeset did something clever which is hard to explain" @@ -370,7 +370,7 @@ View Comment: http://comment.org - Comment on Changeset "This changeset did something clever which is hard to explain" @@ -545,7 +545,7 @@ View Comment: http://comment.org - Mention in Comment on Changeset "This changeset did something clever which is hard to explain" @@ -702,7 +702,7 @@ Subject: Test Message - Message + Message @@ -785,7 +785,7 @@ View User Profile: http://newbie.org - New User Registration @@ -925,7 +925,7 @@ View Pull Request: http://pr.org/7 - Added as Reviewer of Pull Request #7 "The Title" by Requesting User (root) @@ -1098,7 +1098,7 @@ View Pull Request: http://pr.org/7 - Mention on Pull Request #7 "The Title" by Requesting User (root) @@ -1266,7 +1266,7 @@ View Comment: http://pr.org/comment - Comment on Pull Request #7 "The Title" @@ -1429,7 +1429,7 @@ View Comment: http://pr.org/comment - Mention in Comment on Pull Request #7 "The Title" @@ -1594,7 +1594,7 @@ View Comment: http://pr.org/comment - Comment on Pull Request #7 "The Title" @@ -1775,7 +1775,7 @@ View Comment: http://pr.org/comment - Mention in Comment on Pull Request #7 "The Title" @@ -1956,7 +1956,7 @@ View Comment: http://pr.org/comment - Pull Request #7 "The Title" Closed @@ -2136,7 +2136,7 @@ View Comment: http://pr.org/comment - Mention in Comment on Pull Request #7 "The Title" @@ -2318,7 +2318,7 @@ View Comment: http://pr.org/comment - Pull Request #7 "The Title" Closed @@ -2504,7 +2504,7 @@ View Comment: http://pr.org/comment - Mention in Comment on Pull Request #7 "The Title" @@ -2683,7 +2683,7 @@ If it weren't you who requested the pass - Password Reset Request + Password Reset Request