{% load i18n %} function reject_post() { var content = '
' + '

{{ question }}

' + ' {% trans 'Yes I am sure' %}' + ' {% trans 'No: take me back' %}' + '
' + ''; $('#post_to_moderate_content').html(content); } function take_me_back() { var content = '

Moderation:

' + '
' + ' {% trans 'Accept post' %}' + ' {% trans 'Reject post' %}' + '
' + '
' + ' {% trans 'Accept post' %}' + ' {% trans 'Reject post' %}' + '
' + '

Moderation:

'; $('#post_to_moderate_content').html(content); }