File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ def handle_langs_chain(exception)
8383 def submissions_for_datatables ( submissions )
8484 submissions . map do |sub |
8585 user_col = if can? :read , sub . user
86- link_to sub . user . login , participant_path ( sub . user )
86+ link_to sub . user . email , participant_path ( sub . user )
8787 else
88- sub . user . login
88+ ' user'
8989 end
9090 [
9191 sub . created_at . strftime ( '%Y-%m-%d %H:%M' ) ,
Original file line number Diff line number Diff line change 3535 <% if show_student_column %>
3636 < td >
3737 <% if current_user . id == submission . user . id || can_teach %>
38- <%= link_to submission . user . login , participant_path ( submission . user ) %>
38+ <%= link_to submission . user . email , participant_path ( submission . user ) %>
3939 <% else %>
40- <%= submission . user . login %>
40+ user
4141 <% end %>
4242 </ td >
4343 <% end %>
You can’t perform that action at this time.
0 commit comments