Skip to content

Commit

Permalink
Prompt for login for approving slide suggestions instead of just pres…
Browse files Browse the repository at this point in the history
…enting an error. Fixes #2750. Commit ready for merge.

 - Legacy-Id: 16561
  • Loading branch information
rjsparks committed Jul 20, 2019
1 parent b4a27c5 commit c80d707
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ietf/meeting/views.py
Expand Up @@ -2425,7 +2425,8 @@ def __init__(self, show_apply_to_all_checkbox, *args, **kwargs):
super(ApproveSlidesForm, self).__init__(*args, **kwargs )
if not show_apply_to_all_checkbox:
self.fields.pop('apply_to_all')


@login_required
def approve_proposed_slides(request, slidesubmission_id, num):
submission = get_object_or_404(SlideSubmission,pk=slidesubmission_id)
if not submission.session.can_manage_materials(request.user):
Expand Down

0 comments on commit c80d707

Please sign in to comment.