This commit is contained in:
Michael Scherer 2019-11-02 10:20:46 +01:00
parent 8ae814b17c
commit 9891ba3cf1
1 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ Thanks!
}, },
content=body, content=body,
) )
messages.success(request, _('You proposition have been successfully submitted!')) messages.success(request, _('Your proposition have been successfully submitted!'))
return redirect(reverse('proposal-talk-details', kwargs=dict(speaker_token=speaker.token, talk_id=talk.pk))) return redirect(reverse('proposal-talk-details', kwargs=dict(speaker_token=speaker.token, talk_id=talk.pk)))
return render(request, 'cfp/proposal_home.html', { return render(request, 'cfp/proposal_home.html', {
'speaker_form': speaker_form, 'speaker_form': speaker_form,
@ -414,7 +414,7 @@ def proposal_talk_edit(request, speaker, talk_id=None):
else: else:
# TODO: it could be great to receive the proposition by mail # TODO: it could be great to receive the proposition by mail
# but this is not crucial as the speaker already have a link in its mailbox # but this is not crucial as the speaker already have a link in its mailbox
messages.success(request, _('You proposition have been successfully submitted!')) messages.success(request, _('Your proposition have been successfully submitted!'))
return redirect(reverse('proposal-talk-details', kwargs=dict(speaker_token=speaker.token, talk_id=talk.pk))) return redirect(reverse('proposal-talk-details', kwargs=dict(speaker_token=speaker.token, talk_id=talk.pk)))
return render(request, 'cfp/proposal_talk_form.html', { return render(request, 'cfp/proposal_talk_form.html', {
'speaker': speaker, 'speaker': speaker,