added admin for NotificationTemplate
This commit is contained in:
parent
81710fc301
commit
c87225674f
2 changed files with 13 additions and 1 deletions
6
symposion/reviews/admin.py
Normal file
6
symposion/reviews/admin.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
from symposion.reviews.models import NotificationTemplate
|
||||||
|
|
||||||
|
|
||||||
|
admin.site.register(NotificationTemplate)
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue