Add support for closing petitions, and emit notifications when relevant
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
{{reply.user}} replied to your post in {{reply.topic}}:
|
||||
|
||||
{{reply.body}}
|
||||
|
||||
{{reply.get_absolute_url}}
|
||||
|
6
templates/notification/petition_closed/full.txt
Normal file
6
templates/notification/petition_closed/full.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Petition {{petition.id}} has been closed by {{closingUser}}:
|
||||
|
||||
{{petition.body}}
|
||||
|
||||
{{petition.get_absolute_url}}
|
||||
|
5
templates/notification/petition_commented/full.txt
Normal file
5
templates/notification/petition_commented/full.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
{{comment.author}} commented on petition {{petition.id}}:
|
||||
|
||||
{{comment.body}}
|
||||
|
||||
{{petition.get_absolute_url}}
|
5
templates/notification/petition_opened/full.txt
Normal file
5
templates/notification/petition_opened/full.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
{{petition.author}} opened petition {{petition.id}}:
|
||||
|
||||
{{petition.body}}
|
||||
|
||||
{{petition.get_absolute_url}}
|
Reference in New Issue
Block a user