Replace usage of name in favor of displayname

This commit is contained in:
Sebastian Serth
2018-12-13 13:11:32 +01:00
parent b4b9ab48d0
commit 88081bb541
9 changed files with 13 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ h1 = UserExerciseFeedback.model_name.human(count: 2)
- @uefs.each do |uef|
tr
td = uef.user.id
td = uef.user.name
td = uef.user.displayname
td = link_to(uef.exercise.title, uef.exercise)
td = link_to(t('shared.show'), uef)
td = link_to(t('shared.destroy'), uef, data: {confirm: t('shared.confirm_destroy')}, method: :delete)