diff --git a/kallithea/model/notification.py b/kallithea/model/notification.py --- a/kallithea/model/notification.py +++ b/kallithea/model/notification.py @@ -338,6 +338,7 @@ class EmailNotificationModel(object): _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, + "data_style": "border:%(color_border)s 1px solid;background:%(color_background_grey)s" % _kwargs, "emph_style": "font-weight:600;color:%(color_emph)s" % _kwargs, "link_style": "color:%(color_link)s;text-decoration:none" % _kwargs, }) diff --git a/kallithea/templates/email_templates/changeset_comment.html b/kallithea/templates/email_templates/changeset_comment.html --- a/kallithea/templates/email_templates/changeset_comment.html +++ b/kallithea/templates/email_templates/changeset_comment.html @@ -21,13 +21,13 @@ ${cs_target_repo} ${_('branch')} - ${branch}: + ${branch}:
"${h.shorter(message, 60, firstline=True)}" ${_('by')} - ${cs_author.full_name_and_username}. + ${cs_author.full_name_and_username}.
diff --git a/kallithea/templates/email_templates/pull_request.html b/kallithea/templates/email_templates/pull_request.html --- a/kallithea/templates/email_templates/pull_request.html +++ b/kallithea/templates/email_templates/pull_request.html @@ -13,19 +13,19 @@ ${pr_source_repo} ${_('at')} - ${pr_source_branch} + ${pr_source_branch} ${_('to')} ${pr_target_repo} ${_('at')} - ${pr_target_branch}: + ${pr_target_branch}
${pr_nice_id} "${pr_title}" ${_('by')} - ${pr_owner.full_name_and_username}. + ${pr_owner.full_name_and_username}.
diff --git a/kallithea/templates/email_templates/pull_request_comment.html b/kallithea/templates/email_templates/pull_request_comment.html --- a/kallithea/templates/email_templates/pull_request_comment.html +++ b/kallithea/templates/email_templates/pull_request_comment.html @@ -21,19 +21,19 @@ ${pr_source_repo} ${_('branch')} - ${pr_source_branch} + ${pr_source_branch} ${_('to')} ${pr_target_repo} ${_('branch')} - ${pr_target_branch}: + ${pr_target_branch}:
${pr_nice_id} "${pr_title}" ${_('by')} - ${pr_owner.full_name_and_username}. + ${pr_owner.full_name_and_username}.
diff --git a/kallithea/templates/email_templates/registration.html b/kallithea/templates/email_templates/registration.html --- a/kallithea/templates/email_templates/registration.html +++ b/kallithea/templates/email_templates/registration.html @@ -10,7 +10,7 @@ ${_('Username')}: - + ${new_username} @@ -21,7 +21,7 @@ ${_('Full Name')}: - + ${new_full_name} @@ -32,7 +32,7 @@ ${_('Email')}: - + ${new_email} 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 @@ -114,13 +114,13 @@ View Comment: http://comment.org http://example.com/repo_target branch - brunch: + brunch:
"This changeset did something clever which is hard to explain" by - u2 u3 (u2). + u2 u3 (u2).
@@ -273,13 +273,13 @@ View Comment: http://comment.org http://example.com/repo_target branch - brunch: + brunch:
"This changeset did something clever which is hard to explain" by - u2 u3 (u2). + u2 u3 (u2).
@@ -450,13 +450,13 @@ View Comment: http://comment.org http://example.com/repo_target branch - brunch: + brunch:
"This changeset did something clever which is hard to explain" by - u2 u3 (u2). + u2 u3 (u2).
@@ -627,13 +627,13 @@ View Comment: http://comment.org http://example.com/repo_target branch - brunch: + brunch:
"This changeset did something clever which is hard to explain" by - u2 u3 (u2). + u2 u3 (u2).
@@ -815,7 +815,7 @@ View User Profile: http://newbie.org Username: - + newbie @@ -826,7 +826,7 @@ View User Profile: http://newbie.org Full Name: - + New Full Name @@ -837,7 +837,7 @@ View User Profile: http://newbie.org Email: - + new@email.com @@ -960,19 +960,19 @@ View Pull Request: http://pr.org/7 https://dev.org/repo at - devbranch + devbranch to http://mainline.com/repo at - trunk: + trunk
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -1149,19 +1149,19 @@ View Pull Request: http://pr.org/7 https://dev.org/repo at - devbranch + devbranch to http://mainline.com/repo at - trunk: + trunk
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -1368,19 +1368,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -1533,19 +1533,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -1716,19 +1716,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -1899,19 +1899,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -2081,19 +2081,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -2263,19 +2263,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -2451,19 +2451,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).
@@ -2639,19 +2639,19 @@ View Comment: http://pr.org/comment https://dev.org/repo branch - devbranch + devbranch to http://mainline.com/repo branch - trunk: + trunk:
#7 "The Title" by - u2 u3 (u2). + u2 u3 (u2).