From 2617b478c0ccc82453c6bbc2a9c30fa88fcdf5f7 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Wed, 31 Jul 2013 13:36:50 -0400 Subject: [PATCH] Add error messaging to course team page Hitting "Add User" with no email address, or trying to add a user to the course team multiple times --- cms/templates/manage_users.html | 39 ++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/cms/templates/manage_users.html b/cms/templates/manage_users.html index 0ce0067da3..62763b7770 100644 --- a/cms/templates/manage_users.html +++ b/cms/templates/manage_users.html @@ -1,6 +1,7 @@ <%! from django.utils.translation import ugettext as _ %> <%! from django.core.urlresolvers import reverse %> <%! from auth.authz import is_user_in_course_group_role %> +<%! import json %> <%inherit file="base.html" /> <%block name="title">${_("Course Team Settings")} <%block name="bodyclass">is-signedin course users team @@ -161,18 +162,54 @@ <%block name="jsextra">