added admin for NotificationTemplate

This commit is contained in:
Brian Rosner 2012-09-08 17:29:18 -06:00
parent 81710fc301
commit c87225674f
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,6 @@
from django.contrib import admin
from symposion.reviews.models import NotificationTemplate
admin.site.register(NotificationTemplate)

View file

@ -288,7 +288,13 @@ class NotificationTemplate(models.Model):
label = models.CharField(max_length=100) label = models.CharField(max_length=100)
subject = models.CharField(max_length=100) subject = models.CharField(max_length=100)
body = models.TextField() body = models.TextField(
help_text=(
"If the <b>Body</b> includes the string <code>{{ proposal }}</code> "
"then it will be replaced with the title of the proposal when the "
"email is sent."
)
)
class ResultNotification(models.Model): class ResultNotification(models.Model):