Skip to content

Commit

Permalink
Merged in [16561] from rjsparks@nostrum.com:
Browse files Browse the repository at this point in the history
    Prompt for login for approving slide suggestions instead of just presenting an error. Fixes #2750.
 - Legacy-Id: 16587
Note: SVN reference [16561] has been migrated to Git commit c80d707
  • Loading branch information
levkowetz committed Jul 24, 2019
1 parent de43926 commit 4fb9f8b
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 4fb9f8b

Please sign in to comment.