David Baumgold
2ad78d949a
Merge pull request #538 from edx/db/course-team-admin-grants
...
Add error messaging to course team page
2013-08-01 11:58:52 -07:00
David Baumgold
1b83cfc409
Merge pull request #546 from edx/db/dev-views
...
Create urls/views/templates for dev-only views
2013-08-01 11:47:39 -07:00
David Baumgold
53ae177178
Curly quotes around course name
2013-08-01 13:46:40 -04:00
David Baumgold
16e2ee8011
Abstract out the unknown error message and i18n
2013-08-01 13:43:40 -04:00
David Baumgold
1eae675952
Create a dedicated CMS.Models.Course Backbone model
...
Initialize on every page that has a context_course set
2013-08-01 13:39:47 -04:00
Brian Talbot
a1f43fa6fd
Studio: revises prompt messages for team roles UI
2013-08-01 09:58:32 -04:00
David Baumgold
21318d142d
Add confirmation prompt when deleting a user from a course team
2013-08-01 09:58:32 -04:00
David Baumgold
2617b478c0
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
2013-08-01 09:58:32 -04:00
David Baumgold
64ad5567f3
Create urls/views/templates for dev-only views
...
Our designers find it helpful to be able to stub out simple views that aren't ready
to be seen for production yet, and check them into version control so that other
people can see them and provide feedback. This commit introduces a few new files
and directories for this purpose, as well as a sample view that will only be seen
in dev mode, and never in production.
2013-07-31 17:20:26 -04:00
Frances Botsford
b6777118c6
removing animate class from course creation for now
2013-07-31 15:25:38 -04:00
Brian Talbot
b85f92de8d
Studio: wraps new course creation form in authorship rights logic
2013-07-31 11:29:00 -04:00
Brian Talbot
50b930a772
Studio: syncs up visual and semantic standards b/t create course and user forms
2013-07-30 18:42:03 -04:00
Brian Talbot
16187462b3
Studio: syncs up visual and semantic standards b/t create course and user forms
2013-07-30 18:21:07 -04:00
Frances Botsford
9d788275ba
I18N and tip text adjustment on studio course creation
2013-07-30 17:25:46 -04:00
Chris Dodge
4b3f62eff0
add some client side validation to make sure org/course/run is URL sage
2013-07-30 17:24:44 -04:00
Chris Dodge
c750ebe8e3
change help text on course create - Course names can be changed, but not the org, course, or run
2013-07-30 17:24:43 -04:00
Frances Botsford
7bb47f39a1
removed hardcoded error text from course creation form
2013-07-30 17:24:43 -04:00
Frances Botsford
9901212f93
overhaul of the studio course creation form html and sass
2013-07-30 17:24:43 -04:00
Chris Dodge
e23b693d90
put a 4th field in the create new course form where the user must specify a course_run. Also update unit tests to also provide this 4th parameter. Styling changes to better lay out the form fields are still TBD.
2013-07-30 17:20:09 -04:00
David Baumgold
7d7513b6fe
Merge pull request #470 from edx/db/course-team-admin-grants
...
Grant admin rights to members of the course team
2013-07-30 13:36:56 -07:00
Brian Talbot
7a41855fdb
Studio: adds logic to show add new user to team view
2013-07-30 14:00:58 -04:00
David Baumgold
fba50589ff
Add a lettuce test for course team admins granting admin status
2013-07-30 13:48:43 -04:00
Brian Talbot
2161961f64
Studio: corrects legend element copy on new user form
2013-07-30 13:18:56 -04:00
David Baumgold
71bb527022
Merge pull request #515 from edx/db/template-improvements
...
Studio: Improvements for loading JS templates on Advanced Settings and Course Updates pages
2013-07-30 08:24:54 -07:00
Diana Huang
0d10a872c8
Merge pull request #499 from edx/diana/login-redirect
...
Only redirect when redirect url is an internal page.
2013-07-30 05:29:39 -07:00
Mark L. Chang
8b6c2787f6
copy changes
2013-07-30 00:14:44 -04:00
Brian Talbot
611dab077f
Studio: places 'add team member' call to course team view
2013-07-29 17:29:15 -04:00
David Baumgold
372992244c
Removed course_info_handouts AJAX load
2013-07-29 14:30:16 -04:00
David Baumgold
5b9e283552
Load course info update template on page instead of via AJAX
2013-07-29 14:29:04 -04:00
David Baumgold
eac14615cd
Load advanced_entry template on page, rather than via AJAX
2013-07-29 14:28:40 -04:00
Diana Huang
d1b503d53a
Only redirect when redirect url is an internal page.
2013-07-29 14:18:04 -04:00
David Baumgold
36a10876c0
Fix variable scoping issue in Mako template
2013-07-29 13:12:06 -04:00
Brian Talbot
deced24b32
Studio: refactored form-based Sass and revised markup/copy for course team admin mgmt
2013-07-29 13:12:06 -04:00
David Baumgold
e5ef5ef1a0
Show disabled trash icon instead of not showing it at all
2013-07-29 13:12:06 -04:00
David Baumgold
41832744d7
Correct course team admin badging logic
2013-07-29 13:12:06 -04:00
David Baumgold
ecf855eba7
Fixup translations
2013-07-29 13:12:05 -04:00
David Baumgold
5738e4f79d
Pull correct URL when changing user permissions for course team
2013-07-29 13:12:05 -04:00
David Baumgold
91f192f6b5
Added error prompts for the course team page
2013-07-29 13:12:05 -04:00
Brian Talbot
4a2b5519ba
Studio: styles new user role controls and revamps course team UI
2013-07-29 13:12:05 -04:00
David Baumgold
42331464ed
Can't remove last instructor of a course
2013-07-29 13:12:05 -04:00
David Baumgold
79c554ba5b
course admin team: handle is_staff users
...
A user with `is_staff=True` is treated as being in all groups. This is problematic
when we care about the user's staff/instructor role for a course: you can't remove
the instructor role. This commit changes the `is_user_in_course_group_role` function
to allow the caller to specify that it should not check the `is_staff` attribute
on the user.
2013-07-29 13:12:05 -04:00
David Baumgold
c70bd5c908
Remove whitespace from email addresses on the course team page
2013-07-29 13:12:04 -04:00
David Baumgold
f438552b3b
Added unit tests for new course team API
2013-07-29 13:12:04 -04:00
David Baumgold
724ef2e1e5
Fixing test failures
2013-07-29 13:12:04 -04:00
David Baumgold
b835f7c3a3
Update a manage_user reverse call
2013-07-29 13:11:48 -04:00
David Baumgold
5c356bd379
Add button to add/remove instructor priviledges on course team page
2013-07-29 13:11:48 -04:00
David Baumgold
21a32370df
Reorganize URLs and views around course team
...
Match other views better, saner URLs, more RESTful style, extensible for other roles
2013-07-29 13:11:48 -04:00
David Baumgold
c240f6597d
Reformat JS
2013-07-29 13:11:47 -04:00
cahrens
b5506cf20b
Copy changes.
2013-07-29 09:51:10 -04:00
cahrens
15665bbe5a
Formatting updates.
2013-07-29 09:49:37 -04:00