Skip to content

Commit 517555b

Browse files
committed
Merged in [18590] from peter@akayla.com:
Added slide numbering reminder. Fixes issue ietf-tools#3041. - Legacy-Id: 18610 Note: SVN reference [18590] has been migrated to Git commit 9963ab6
2 parents 182aa82 + 9963ab6 commit 517555b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/meeting/forms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ def __init__(self, *args, **kwargs):
331331
self.mime_types = settings.MEETING_VALID_UPLOAD_MIME_TYPES[doc_type]
332332
super(FileUploadForm, self).__init__(*args, **kwargs)
333333
label = '%s file to upload. ' % (self.doc_type.capitalize(), )
334+
if self.doc_type == "slides":
335+
label += 'Did you remember to put in slide numbers? '
334336
if self.mime_types:
335337
label += 'Note that you can only upload files with these formats: %s.' % (', '.join(self.mime_types, ))
336338
self.fields['file'].label=label

ietf/meeting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ def __init__(self, session, show_apply_to_all_checkbox, *args, **kwargs):
24932493

24942494
def clean_title(self):
24952495
title = self.cleaned_data['title']
2496-
# THe current tables only handles Unicode BMP:
2496+
# The current tables only handles Unicode BMP:
24972497
if ord(max(title)) > 0xffff:
24982498
raise forms.ValidationError("The title contains characters outside the Unicode BMP, which is not currently supported")
24992499
if self.session.meeting.type_id=='interim':

0 commit comments

Comments
 (0)