Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added admin for NotificationTemplate

  • Loading branch information...
commit c87225674f6eadc7f2cd1c3d5b11a3fe88a03124 1 parent 81710fc
@brosner brosner authored
Showing with 13 additions and 1 deletion.
  1. +6 −0 symposion/reviews/admin.py
  2. +7 −1 symposion/reviews/models.py
View
6 symposion/reviews/admin.py
@@ -0,0 +1,6 @@
+from django.contrib import admin
+
+from symposion.reviews.models import NotificationTemplate
+
+
+admin.site.register(NotificationTemplate)
View
8 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 <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):
Please sign in to comment.
Something went wrong with that request. Please try again.