Show recipients of messages

This commit is contained in:
Patrick Gansterer 2015-02-18 17:32:50 +01:00
parent 65c7673a41
commit 23f0a1613a
3 changed files with 5 additions and 0 deletions

View file

@ -1131,6 +1131,7 @@ de:
sent_on: 'Gesendet:' sent_on: 'Gesendet:'
subject: 'Betreff:' subject: 'Betreff:'
title: Nachricht anzeigen title: Nachricht anzeigen
to: 'An:'
messages_mailer: messages_mailer:
foodsoft_message: foodsoft_message:
footer: | footer: |

View file

@ -1140,6 +1140,7 @@ en:
sent_on: 'Sent:' sent_on: 'Sent:'
subject: 'Subject:' subject: 'Subject:'
title: Show message title: Show message
to: 'To:'
messages_mailer: messages_mailer:
foodsoft_message: foodsoft_message:
footer: | footer: |

View file

@ -5,6 +5,9 @@
%tr %tr
%td= t '.from' %td= t '.from'
%td=h @message.sender_name %td=h @message.sender_name
%tr
%td= t '.to'
%td= @message.recipients.map {|e| e.name}.join(', ')
%tr %tr
%td= t '.subject' %td= t '.subject'
%td %td