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)
83
83
def submissions_for_datatables ( submissions )
84
84
submissions . map do |sub |
85
85
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 )
87
87
else
88
- sub . user . login
88
+ ' user'
89
89
end
90
90
[
91
91
sub . created_at . strftime ( '%Y-%m-%d %H:%M' ) ,
Original file line number Diff line number Diff line change 35
35
<% if show_student_column %>
36
36
< td >
37
37
<% 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 ) %>
39
39
<% else %>
40
- <%= submission . user . login %>
40
+ user
41
41
<% end %>
42
42
</ td >
43
43
<% end %>
You can’t perform that action at this time.
0 commit comments