Merge pull request #354 from foodcoop1040/recipients

Show recipients of messages
This commit is contained in:
wvengen 2015-02-18 23:28:29 +01:00
commit 26c364bf4b
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