[extensions-web] review: Put the common mail footer in its own template



commit a76452d908c10c218a62e270a6d50c3f5391def9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 3 11:31:31 2012 -0400

    review: Put the common mail footer in its own template

 .../review/templates/review/auto_approved_mail.txt |    4 +---
 sweettooth/review/templates/review/mail_footer.txt |    3 +++
 .../review/templates/review/reviewed_mail.txt      |    4 +---
 .../review/templates/review/submitted_mail.txt     |    4 +---
 4 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/sweettooth/review/templates/review/auto_approved_mail.txt b/sweettooth/review/templates/review/auto_approved_mail.txt
index a11ea07..cbf5278 100644
--- a/sweettooth/review/templates/review/auto_approved_mail.txt
+++ b/sweettooth/review/templates/review/auto_approved_mail.txt
@@ -8,6 +8,4 @@ The diff between this version and the last approved version contained these chan
 The full review details can be found at {{ review_url }}, and the extension's version page
 can be found at {{ version_url }}.
 
-â
-
-This email was sent automatically by GNOME Shell Extensions. Do not reply.
+{% include "review/mail_footer.txt" %}
diff --git a/sweettooth/review/templates/review/mail_footer.txt b/sweettooth/review/templates/review/mail_footer.txt
new file mode 100644
index 0000000..60afce3
--- /dev/null
+++ b/sweettooth/review/templates/review/mail_footer.txt
@@ -0,0 +1,3 @@
+â
+
+This email was sent automatically by GNOME Shell Extensions. Do not reply.
diff --git a/sweettooth/review/templates/review/reviewed_mail.txt b/sweettooth/review/templates/review/reviewed_mail.txt
index a93ad61..65dc5c2 100644
--- a/sweettooth/review/templates/review/reviewed_mail.txt
+++ b/sweettooth/review/templates/review/reviewed_mail.txt
@@ -8,6 +8,4 @@ Please use the review page to follow up:
 
 {{ url }}
 
-â
-
-This email was sent automatically by GNOME Shell Extensions. Do not reply.
+{% include "review/mail_footer.txt" %}
diff --git a/sweettooth/review/templates/review/submitted_mail.txt b/sweettooth/review/templates/review/submitted_mail.txt
index bf8561e..2c7b110 100644
--- a/sweettooth/review/templates/review/submitted_mail.txt
+++ b/sweettooth/review/templates/review/submitted_mail.txt
@@ -2,6 +2,4 @@ A new extension version, "{{ extension.name }}", version {{ version.version }} h
 
 Please review the extension at {{ url }}
 
-â
-
-This email was sent automatically by GNOME Shell Extensions. Do not reply.
+{% include "review/mail_footer.txt" %}



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