From e6ce3c6dacc08fb2af84805ae43626e6fa9954a2 Mon Sep 17 00:00:00 2001 From: EflainMoura Date: Fri, 25 Oct 2019 11:46:28 -0300 Subject: [PATCH] add link to proposal in email address to event jury (issue #563) --- deck/templates/mailing/jury_new_proposal.txt | 4 ++-- deck/views.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deck/templates/mailing/jury_new_proposal.txt b/deck/templates/mailing/jury_new_proposal.txt index b11c13c..ce17cb2 100644 --- a/deck/templates/mailing/jury_new_proposal.txt +++ b/deck/templates/mailing/jury_new_proposal.txt @@ -3,7 +3,7 @@ {% blocktrans %} Hi! - The event "{{ event_title }}" had just received a new proposal called "{{ proposal_title }}". + The event "{{ event_title }}" had just received a new proposal called "{{ proposal_title }}". Cheers! -{% endblocktrans %} \ No newline at end of file +{% endblocktrans %} diff --git a/deck/views.py b/deck/views.py index f53d2ad..0b35412 100644 --- a/deck/views.py +++ b/deck/views.py @@ -290,7 +290,8 @@ def send_new_proposal_to_jury_email(self): proposal = self.object context = { 'event_title': proposal.event.title, - 'proposal_title': proposal.title + 'proposal_title': proposal.title, + 'proposal_url': proposal.get_absolute_url() } message = render_to_string('mailing/jury_new_proposal.txt', context) subject = _(u'Your event has new proposals')