Merge pull request #463 from foodcoop1040/user_display

Show User.display instead of User.name when showing messages
This commit is contained in:
wvengen 2017-02-16 09:04:19 +01:00 committed by GitHub
commit e5cec637fc

View file

@ -7,7 +7,7 @@
%td=h @message.sender_name %td=h @message.sender_name
%tr %tr
%td= t '.to' %td= t '.to'
%td= @message.recipients.map {|e| e.name}.join(', ') %td= @message.recipients.map(&:display).join(', ')
- if @message.group - if @message.group
%tr %tr
%td= t '.group' %td= t '.group'