use course nickname on Grades page
test plan: - as a student, set a nickname for a course - as the student, submit an assignment in the course - as a teacher or TA, grade the assignment - as the student, go to Grades and ensure the course dropdown uses your defined course nickname closes CNVS-24211 Change-Id: If0d6213f9cceb65cf109f4ff581a0530adff2d56 Reviewed-on: https://gerrit.instructure.com/65651 Tested-by: Jenkins Reviewed-by: James Williams <jamesw@instructure.com> QA-Review: Ryan Allen <rallen@instructure.com> Product-Review: Jeremy Stanley <jeremy@instructure.com>
This commit is contained in:
parent
dc86c80c8e
commit
f440b454ed
|
@ -106,7 +106,7 @@
|
|||
context_url(course, :context_grades_url)
|
||||
end
|
||||
%>
|
||||
<option value="<%= url %>" <%= 'selected' if course == @context %>><%= course.name %></option>
|
||||
<option value="<%= url %>" <%= 'selected' if course == @context %>><%= course.nickname_for(@current_user) %></option>
|
||||
<% end %>
|
||||
</select>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue