X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/58f020d4fab8251103edb89bfc4cf5d5d389d1ad..92fecfc99bd78efe099c72044901f331e4310599:/forum/skins/default/templates/notifications/newcomment.html diff --git a/forum/skins/default/templates/notifications/newcomment.html b/forum/skins/default/templates/notifications/newcomment.html index a4859a4..fbb9513 100644 --- a/forum/skins/default/templates/notifications/newcomment.html +++ b/forum/skins/default/templates/notifications/newcomment.html @@ -8,18 +8,16 @@ post_author = post.author.username comment_author = comment.author question_url = question.get_absolute_url() - question_title = question.title + question_title = html.mark_safe(question.title) safe_body = html.html2text(comment.comment) + author_link = html.objlink(comment.author, style=settings.EMAIL_ANCHOR_STYLE) + question_link = html.objlink(question, style=settings.EMAIL_ANCHOR_STYLE) {% enddeclare %} {% email %} {% subject %}{% blocktrans %}{{ prefix }} New comment on {{ question_title }}{% endblocktrans %}{% endsubject %} {% htmlcontent notifications/base.html %} - {% declare %} - author_link = html.objlink(comment.author, style=a_style) - question_link = html.objlink(question, style=a_style) - {% enddeclare %}
{% blocktrans %}{{ author_link }} has just posted a comment on {% endblocktrans %} {% ifnotequal post question %}