File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ def get_object(self):
219219 def dispatch (self , request , * args , ** kwargs ):
220220 if request .user .is_anonymous :
221221 return get_login_redirect (request )
222+
222223 if not request .user .has_perm ('base.is_speaker_submission' , self .submission ):
223224 self .template_name = 'cfp/event/user_submission_confirm_error.html'
224225 return super ().dispatch (request , * args , ** kwargs )
Original file line number Diff line number Diff line change 2222 _ (
2323 """Hi!
2424
25- We are happy to tell you that we accept your proposal “ {submission_title}”
25+ We are happy to tell you that we accept your proposal " {submission_title}"
2626to {event_name}. Please click this link to confirm your attendance:
2727
28- {confirmation_link}
28+ {confirmation_link}
2929
3030We look forward to seeing you at {event_name} - Please contact us if you have any
3131questions! We will reach out again before the conference to tell you details
8989 """Hi,
9090
9191you have received a new proposal for your event {event_name}:
92- “ {submission_title}” by {speakers}.
92+ " {submission_title}" by {speakers}.
9393You can see details at
9494
95- {orga_url}
95+ {orga_url}
96+
97+ All the best,
98+ your {event_name} CfP system.
99+ """
100+ )
101+ )
102+ UPDATE_SUBJECT = LazyI18nString .from_gettext (
103+ _ ("[{event_name}] A talk has been modified: {submission_title}" )
104+ )
105+ UPDATE_TEXT = LazyI18nString .from_gettext (
106+ _ (
107+ """Hi,
108+
109+ the proposal "{submission_title}" for your event {event_name} has been modified.
110+ You can see details at
111+
112+ {orga_url}
96113
97114All the best,
98115your {event_name} CfP system.
You can’t perform that action at this time.
0 commit comments