fix irc message for proposals

This commit is contained in:
Stephan Telling 2017-07-11 23:14:30 +02:00
parent 534a2d790d
commit 78c4f14048
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B

View file

@ -287,7 +287,7 @@ def notify_proposals(sender, created, instance, **kwargs):
) )
OutgoingIrcMessage.objects.create( OutgoingIrcMessage.objects.create(
target=target, target=target,
message="New speaker proposal: {} (https://bornhack.dk/admin/program/speakerproposal/{}/change/)".format( message="New speaker proposal: {} - https://bornhack.dk/admin/program/speakerproposal/{}/change/".format(
instance.name, instance.name,
instance.uuid instance.uuid
), ),
@ -301,7 +301,7 @@ def notify_proposals(sender, created, instance, **kwargs):
) )
OutgoingIrcMessage.objects.create( OutgoingIrcMessage.objects.create(
target=target, target=target,
message="New event proposal: {} (https://bornhack.dk/admin/program/eventproposal/{{ proposal.uuid }}/change/)".format( message="New event proposal: {} - https://bornhack.dk/admin/program/eventproposal/{{ proposal.uuid }}/change/".format(
instance.title, instance.title,
instance.uuid instance.uuid
), ),