[extensions-web] errorreports: Add the email address in the error report template



commit 6cdbdd868dcddb0d5a678092730ead53b97aa59d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Dec 2 16:55:27 2011 -0500

    errorreports: Add the email address in the error report template

 .../templates/errorreports/report_mail.txt         |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/errorreports/templates/errorreports/report_mail.txt b/sweettooth/errorreports/templates/errorreports/report_mail.txt
index a392cd2..0f700ad 100644
--- a/sweettooth/errorreports/templates/errorreports/report_mail.txt
+++ b/sweettooth/errorreports/templates/errorreports/report_mail.txt
@@ -2,6 +2,14 @@ Your extension, "{{ extension.name }}" has received an error report from {{ repo
 
 {{ report.comment }}
 
+{% if report.can_cantact %}
+Please email the reporter back to respond. The user's address is:
+
+{{ report.user.email }}
+{% else %}
+The reporter did not wish to provide you with his contact information.
+{% endif %}
+
 You can see the full report at:
 
 {{ url }}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]