X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c354e3166e70df3c9384185590f23a61616310b3..c37aa7a23be8c834cecdff3a2141e0ef91dbaea2:/forum/skins/default/templates/notifications/answeraccepted.html?ds=sidebyside diff --git a/forum/skins/default/templates/notifications/answeraccepted.html b/forum/skins/default/templates/notifications/answeraccepted.html index 4ce25a7..5157bd0 100644 --- a/forum/skins/default/templates/notifications/answeraccepted.html +++ b/forum/skins/default/templates/notifications/answeraccepted.html @@ -3,7 +3,7 @@ {% declare %} prefix = html.mark_safe(smart_str(settings.EMAIL_SUBJECT_PREFIX)) answer_author = html.mark_safe(smart_str(answer.author.username)) - question = smart_str(answer.question) + question = answer.question question_title = html.mark_safe(smart_str(question.title)) accepted_by = html.mark_safe(smart_str(answer.nstate.accepted.by.username)) accepted_by_link = html.objlink(answer.nstate.accepted.by, style=settings.EMAIL_ANCHOR_STYLE)