X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..bdc1f3f4e02e0d558bb80e70679d5e56172d32b9:/forum/skins/default/templates/notifications/answeraccepted.html diff --git a/forum/skins/default/templates/notifications/answeraccepted.html b/forum/skins/default/templates/notifications/answeraccepted.html index 60fb7e6..6c34040 100644 --- a/forum/skins/default/templates/notifications/answeraccepted.html +++ b/forum/skins/default/templates/notifications/answeraccepted.html @@ -3,11 +3,17 @@ {% load extra_tags %} {% block content %} + {% var accepted_by = answer.nstate.accepted.by.username %} + {% var answer_author = answer.author.username %} + {% var app_url = settings.APP_URL %} + {% var question_url = question.get_absolute_url %} + {% var question_title = question.title %} +
{% 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 %} - Just to let you know that {{ accepter }} has just accepted {{ answer_author }}'s answer on his question + {% blocktrans %} + Just to let you know that {{ accepted_by }} has just accepted {{ answer_author }}'s answer on his question {{ question_title }}: {% endblocktrans %}