Skip to content

Commit

Permalink
added admin for NotificationTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Sep 8, 2012
1 parent 81710fc commit c872256
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions symposion/reviews/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.contrib import admin

from symposion.reviews.models import NotificationTemplate


admin.site.register(NotificationTemplate)
8 changes: 7 additions & 1 deletion symposion/reviews/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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):
Expand Down

0 comments on commit c872256

Please sign in to comment.