# HG changeset patch # User Mads Kiilerich # Date 1485044211 -3600 # Node ID fb565a8b4b4f43e092b76f452714b499a94086f8 # Parent e4e13a7cc438ded76afaa9c34f9963239ce21bd6 mails: make title in header boxes slightly bolder In my opinion, the top headers in the new mail styling seemed a bit "thin" compared to the other headers. diff -r e4e13a7cc438 -r fb565a8b4b4f kallithea/model/notification.py --- a/kallithea/model/notification.py Sun Jan 22 01:16:51 2017 +0100 +++ b/kallithea/model/notification.py Sun Jan 22 01:16:51 2017 +0100 @@ -339,6 +339,7 @@ _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 -r e4e13a7cc438 -r fb565a8b4b4f kallithea/templates/email_templates/comment.html --- a/kallithea/templates/email_templates/comment.html Sun Jan 22 01:16:51 2017 +0100 +++ b/kallithea/templates/email_templates/comment.html Sun Jan 22 01:16:51 2017 +0100 @@ -8,7 +8,7 @@ -
${author}
+
${author}
diff -r e4e13a7cc438 -r fb565a8b4b4f kallithea/templates/email_templates/header.html --- a/kallithea/templates/email_templates/header.html Sun Jan 22 01:16:51 2017 +0100 +++ b/kallithea/templates/email_templates/header.html Sun Jan 22 01:16:51 2017 +0100 @@ -10,10 +10,10 @@ %if link is not None: - ${title} %else: - ${title} + ${title} %endif diff -r e4e13a7cc438 -r fb565a8b4b4f kallithea/tests/models/test_dump_html_mails.ref.html --- a/kallithea/tests/models/test_dump_html_mails.ref.html Sun Jan 22 01:16:51 2017 +0100 +++ b/kallithea/tests/models/test_dump_html_mails.ref.html Sun Jan 22 01:16:51 2017 +0100 @@ -54,7 +54,7 @@ - Comment on Changeset "This changeset did something clever which is hard to explain" @@ -211,7 +211,7 @@ - Mention in Comment on Changeset "This changeset did something clever which is hard to explain" @@ -370,7 +370,7 @@ - Comment on Changeset "This changeset did something clever which is hard to explain" @@ -545,7 +545,7 @@ - Mention in Comment on Changeset "This changeset did something clever which is hard to explain" @@ -702,7 +702,7 @@ - Message + Message @@ -785,7 +785,7 @@ - New User Registration @@ -925,7 +925,7 @@ - Added as Reviewer of Pull Request #7 "The Title" by Requesting User (root) @@ -1098,7 +1098,7 @@ - Mention on Pull Request #7 "The Title" by Requesting User (root) @@ -1266,7 +1266,7 @@ - Comment on Pull Request #7 "The Title" @@ -1429,7 +1429,7 @@ - Mention in Comment on Pull Request #7 "The Title" @@ -1594,7 +1594,7 @@ - Comment on Pull Request #7 "The Title" @@ -1775,7 +1775,7 @@ - Mention in Comment on Pull Request #7 "The Title" @@ -1956,7 +1956,7 @@ - Pull Request #7 "The Title" Closed @@ -2136,7 +2136,7 @@ - Mention in Comment on Pull Request #7 "The Title" @@ -2318,7 +2318,7 @@ - Pull Request #7 "The Title" Closed @@ -2504,7 +2504,7 @@ - Mention in Comment on Pull Request #7 "The Title" @@ -2683,7 +2683,7 @@ - Password Reset Request + Password Reset Request