Show displayname instead of username in request_for_comment

This commit is contained in:
Ralf Teusner
2016-05-31 11:17:11 +02:00
parent 5f721e6a6b
commit b6cd797772

View File

@ -12,7 +12,7 @@
limit 1").first['id'].to_i
submission = Submission.find(submission_id)
%>
<%= user %> | <%= @request_for_comment.requested_at %>
<%= user.displayname %> | <%= @request_for_comment.requested_at %>
</p>
<h5>
<% if @request_for_comment.question and not @request_for_comment.question == '' %>