[open-ils-commits] r156 - in servres/trunk/conifer: syrup templates (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Mar 8 22:05:22 EDT 2009


Author: gfawcett
Date: 2009-03-08 22:05:21 -0400 (Sun, 08 Mar 2009)
New Revision: 156

Modified:
   servres/trunk/conifer/syrup/views.py
   servres/trunk/conifer/templates/edit_course_permissions.xhtml
Log:
minor UI tweak when changing invitation-code.


Modified: servres/trunk/conifer/syrup/views.py
===================================================================
--- servres/trunk/conifer/syrup/views.py	2009-03-09 02:05:18 UTC (rev 155)
+++ servres/trunk/conifer/syrup/views.py	2009-03-09 02:05:21 UTC (rev 156)
@@ -241,7 +241,7 @@
             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 ----------------------------------

Modified: servres/trunk/conifer/templates/edit_course_permissions.xhtml
===================================================================
--- servres/trunk/conifer/templates/edit_course_permissions.xhtml	2009-03-09 02:05:18 UTC (rev 155)
+++ servres/trunk/conifer/templates/edit_course_permissions.xhtml	2009-03-09 02:05:21 UTC (rev 156)
@@ -45,7 +45,7 @@
     </table>
     <p>	  <input type="submit" name="action_save_instructor" value="Save changes to instructors"/></p>
     <div class="gap"/>
-    <h2>Student Access</h2>
+    <h2 id="student_access">Student Access</h2>
     <p>Who will have student-level access to this site?
     <span style="margin-left: 12;"/>${Markup(choose_access.render('access', course.access, {'id':'id_access'}, []))}</p>
     <div id="INVIT_panel" class="specific">



More information about the open-ils-commits mailing list