Skip to content

Commit

Permalink
Made sure that the shortcut isn't displayed in the student help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDervishi committed Jul 6, 2023
1 parent 0bd7262 commit f34c7bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/views/results/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@
<td><kbd>Shift</kbd> + <kbd></kbd></td>
<td><%=t('results.previous_submission')%></td>
</tr>
<tr>
<td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd></kbd></td>
<td><%=t('results.random_incomplete_submission')%></td>
</tr>
<%if @current_role.class.name != 'Student'%>
<tr>
<td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd></kbd></td>
<td><%=t('results.random_incomplete_submission')%></td>
</tr>
<%end%>
<tr>
<td><kbd>Shift</kbd> + <kbd></kbd></td>
<td><%=t('results.keybinding.previous_criterion')%></td>
Expand Down

0 comments on commit f34c7bd

Please sign in to comment.