From c87225674f6eadc7f2cd1c3d5b11a3fe88a03124 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Sat, 8 Sep 2012 17:29:18 -0600 Subject: [PATCH] added admin for NotificationTemplate --- symposion/reviews/admin.py | 6 ++++++ symposion/reviews/models.py | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 symposion/reviews/admin.py diff --git a/symposion/reviews/admin.py b/symposion/reviews/admin.py new file mode 100644 index 00000000..c7273ad1 --- /dev/null +++ b/symposion/reviews/admin.py @@ -0,0 +1,6 @@ +from django.contrib import admin + +from symposion.reviews.models import NotificationTemplate + + +admin.site.register(NotificationTemplate) diff --git a/symposion/reviews/models.py b/symposion/reviews/models.py index a6b16d9f..3de03fa5 100644 --- a/symposion/reviews/models.py +++ b/symposion/reviews/models.py @@ -288,7 +288,13 @@ class NotificationTemplate(models.Model): label = models.CharField(max_length=100) subject = models.CharField(max_length=100) - body = models.TextField() + body = models.TextField( + help_text=( + "If the Body includes the string {{ proposal }} " + "then it will be replaced with the title of the proposal when the " + "email is sent." + ) + ) class ResultNotification(models.Model):