diff --git a/lms/static/coffee/src/instructor_dashboard/membership.coffee b/lms/static/coffee/src/instructor_dashboard/membership.coffee index 590fd86f3e..0507b1d963 100644 --- a/lms/static/coffee/src/instructor_dashboard/membership.coffee +++ b/lms/static/coffee/src/instructor_dashboard/membership.coffee @@ -28,25 +28,10 @@ class MemberListWidget template_html = $("#member-list-widget-template").html() @$container.html Mustache.render template_html, params - # bind info toggle - @$('.info-badge').click => @toggle_info() - # bind add button @$('input[type="button"].add').click => params.add_handler? @$('.add-field').val() - show_info: -> - @$('.info').show() - @$('.member-list').hide() - - show_list: -> - @$('.info').hide() - @$('.member-list').show() - - toggle_info: -> - @$('.info').toggle() - @$('.member-list').toggle() - # clear the input text field clear_input: -> @$('.add-field').val '' @@ -102,8 +87,6 @@ class AuthListWidget extends MemberListWidget @clear_errors() @clear_input() @reload_list() - @$('.info').hide() - @$('.member-list').show() # handle clicks on the add button add_handler: (input) -> @@ -120,15 +103,12 @@ class AuthListWidget extends MemberListWidget # reload the list of members reload_list: -> # @clear_rows() - # @show_info() @get_member_list (error, member_list) => # abort on error return @show_errors error unless error is null # only show the list of there are members @clear_rows() - @show_info() - # @show_info() # use _.each instead of 'for' so that member # is bound in the button callback. @@ -145,8 +125,6 @@ class AuthListWidget extends MemberListWidget @clear_errors() @reload_list() @add_row [member.username, member.email, $revoke_btn] - # make sure the list is shown because there are members. - @show_list() # clear error display clear_errors: -> @$error_section?.text '' diff --git a/lms/static/sass/course/instructor/_instructor_2.scss b/lms/static/sass/course/instructor/_instructor_2.scss index 2f8eb8947e..03edd97d03 100644 --- a/lms/static/sass/course/instructor/_instructor_2.scss +++ b/lms/static/sass/course/instructor/_instructor_2.scss @@ -526,30 +526,15 @@ section.instructor-dashboard-content-2 { font-size: $body-font-size * 4/5; } - .info-badge { - // float: right; - position: absolute; - top: $baseline / 2; - right: $baseline / 2; - width: 17px; - height: 17px; - background: url('../images/info-icon-dark.png') left center no-repeat; - opacity: 0.35; - &:hover, &:focus { opacity: 0.45; } - &:active { opacity: 0.5; } - } - .info { - display: none; - @include box-sizing(border-box); max-height: $content-height; padding: $baseline; border: 1px solid $light-gray; - border-top: none; color: $lighter-base-font-color; line-height: 1.3em; + font-size: .85em; } .member-list { diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index 1ace8daaee..d8da003220 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -392,6 +392,14 @@ function goto( mode) %else:
${_("User requires forum administrator privileges to perform administration tasks. See instructor.")}
%endif + +${_("Forum Moderators: can edit or delete any post, remove misuse flags, close and re-open threads, endorse " + "responses, and see posts from all cohorts (if the course is cohorted). Moderators' posts are marked as 'staff'.")}
+${_("Forum Admins: have moderator privileges, as well as the ability to edit the list of forum moderators " + "(e.g. to appoint a new moderator). Admins' posts are marked as 'staff'.")}
+${_("Community TAs: have forum moderator privileges, and their posts are labelled 'Community TA'.")}
%endif ##----------------------------------------------------------------------------- diff --git a/lms/templates/instructor/instructor_dashboard_2/membership.html b/lms/templates/instructor/instructor_dashboard_2/membership.html index aa05b47e17..3be2a7926f 100644 --- a/lms/templates/instructor/instructor_dashboard_2/membership.html +++ b/lms/templates/instructor/instructor_dashboard_2/membership.html @@ -5,9 +5,7 @@