From ee3703d7c253df667aeaeb185832c83b3e6a4e57 Mon Sep 17 00:00:00 2001 From: gfawcett Date: Mon, 9 Mar 2009 02:05:21 +0000 Subject: [PATCH] minor UI tweak when changing invitation-code. git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@156 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- conifer/syrup/views.py | 2 +- conifer/templates/edit_course_permissions.xhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conifer/syrup/views.py b/conifer/syrup/views.py index 94c9cfc..12065e5 100644 --- a/conifer/syrup/views.py +++ b/conifer/syrup/views.py @@ -241,7 +241,7 @@ def edit_course_permissions(request, course_id): course.generate_new_passkey() course.access = u'INVIT' course.save() - return HttpResponseRedirect('.') + return HttpResponseRedirect('.#student_access') elif 'action_save_instructor' in POST: # update instructor details ---------------------------------- diff --git a/conifer/templates/edit_course_permissions.xhtml b/conifer/templates/edit_course_permissions.xhtml index 06b4b8d..b4ab4f7 100644 --- a/conifer/templates/edit_course_permissions.xhtml +++ b/conifer/templates/edit_course_permissions.xhtml @@ -45,7 +45,7 @@ instructors = [m for m in models.Member.objects.filter(course=course) if m.role

-

Student Access

+

Student Access

Who will have student-level access to this site? ${Markup(choose_access.render('access', course.access, {'id':'id_access'}, []))}

-- 2.11.0