From: hernani Date: Tue, 11 May 2010 12:10:49 +0000 (+0000) Subject: Show the name of the user on the accepted answer notification. X-Git-Tag: live~912 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/3522ca5472c0496b3dba563d2e590d724257b16a Show the name of the user on the accepted answer notification. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@217 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/notifications/answeraccepted.html b/forum/skins/default/templates/notifications/answeraccepted.html index 60fb7e6..504970b 100644 --- a/forum/skins/default/templates/notifications/answeraccepted.html +++ b/forum/skins/default/templates/notifications/answeraccepted.html @@ -6,7 +6,7 @@

{% trans "Hello" %} {% user_var username %},

- {% blocktrans with answer.accepted_by.username as accepter and answer.author.username as answer_author and settings.APP_SHORT_NAME as app_title and settings.APP_URL as app_url and question.get_absolute_url as question_url and question.title as question_title %} + {% blocktrans with answer.accepted.by.username as accepter and answer.author.username as answer_author and settings.APP_SHORT_NAME as app_title and settings.APP_URL as app_url and question.get_absolute_url as question_url and question.title as question_title %} Just to let you know that {{ accepter }} has just accepted {{ answer_author }}'s answer on his question {{ question_title }}: {% endblocktrans %}