We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29ec14 commit d1b4489Copy full SHA for d1b4489
app/views/submissions/_submission_details.html.erb
@@ -32,11 +32,9 @@
32
<% end %>
33
<% if (can? :teach, @course) or not @is_paste %>
34
<li>
35
- Submitted at <%= @submission.created_at.strftime("%H:%M %d.%m.%Y") %> by
+ Submitted at <%= @submission.created_at.strftime("%H:%M %d.%m.%Y") %>
36
<% if can? :teach, @course %>
37
- <%= link_to @submission.user.username, participant_path(@submission.user) %>.
38
- <% else %>
39
- <%= @submission.user.username %>.
+ by <%= link_to @submission.user.email, participant_path(@submission.user) %>.
40
41
</li>
42
0 commit comments