retrieve correct displaynames for users (from consumer if it is openHPI, otherwise use internal name)

This commit is contained in:
Ralf Teusner
2016-04-27 18:33:27 +02:00
parent d56290f2d8
commit 8ba67c68c0
3 changed files with 15 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ h1 = RequestForComment.model_name.human(count: 2)
tr data-id=request_for_comment.id
td = link_to(request_for_comment.exercise.title, request_for_comment)
td = request_for_comment.exercise.execution_environment
td = request_for_comment.user.name
td = request_for_comment.user.displayname
td = request_for_comment.requested_at
= render('shared/pagination', collection: @request_for_comments)