Skip to content

Commit da75967

Browse files
authored
Merge pull request #2674 from drgrice1/bugfix/problem-list-missing-header
Add the "Grader" header back to the Assignments when the "Grade Problem" link is shown.
2 parents 28b21ed + f78042a commit da75967

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

templates/ContentGenerator/ProblemSet/problem_list.html.ep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
</th>
3636
<th><%= maketext('Counts for Parent') %></th>
3737
% }
38-
% if ($c->{canScoreProblems}) {
38+
% if ($authz->hasPermissions(param('user'), 'access_instructor_tools')
39+
% && $authz->hasPermissions(param('user'), 'problem_grader')) {
3940
<th><%= maketext('Grader') %></th>
4041
% }
4142
</tr>

0 commit comments

Comments
 (0)