From 6fdfea34c3c51d54652f6e8660867f091c60db28 Mon Sep 17 00:00:00 2001 From: Stefan Wehrmeyer Date: Tue, 23 Apr 2013 14:48:26 +0200 Subject: [PATCH] Add URL to request sent email Closes #21 --- .../templates/foirequest/confirm_foi_message_sent.txt | 4 +++- .../templates/foirequest/confirm_foi_request_sent.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/froide/foirequest/templates/foirequest/confirm_foi_message_sent.txt b/froide/foirequest/templates/foirequest/confirm_foi_message_sent.txt index 2d12db26e..a104cf870 100644 --- a/froide/foirequest/templates/foirequest/confirm_foi_message_sent.txt +++ b/froide/foirequest/templates/foirequest/confirm_foi_message_sent.txt @@ -1,7 +1,9 @@ -{% load i18n %}{% autoescape off %}{% blocktrans with name=request.user.get_full_name title=request.title %}Hello {{ name }}, +{% load i18n %}{% autoescape off %}{% blocktrans with name=request.user.get_full_name title=request.title url=request.get_absolute_domain_short_url %}Hello {{ name }}, your message for the Freedom of Information request "{{ title }}" has been sent. We will notify you when you get a response. +{{ url }} + Cheers, {{ site_name }} {% endblocktrans %} diff --git a/froide/foirequest/templates/foirequest/confirm_foi_request_sent.txt b/froide/foirequest/templates/foirequest/confirm_foi_request_sent.txt index a3d76b12e..cc9e190e7 100644 --- a/froide/foirequest/templates/foirequest/confirm_foi_request_sent.txt +++ b/froide/foirequest/templates/foirequest/confirm_foi_request_sent.txt @@ -1,7 +1,9 @@ -{% load i18n %}{% autoescape off %}{% blocktrans with name=request.user.get_full_name title=request.title %}Hello {{ name }}, +{% load i18n %}{% autoescape off %}{% blocktrans with name=request.user.get_full_name title=request.title url=request.get_absolute_domain_short_url %}Hello {{ name }}, your request "{{ title }}" has been sent. We will notify you when you get a response. +{{ url }} + Cheers, {{ site_name }} {% endblocktrans %}