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:'
subject: 'Betreff:'
title: Nachricht anzeigen
to: 'An:'
messages_mailer:
foodsoft_message:
footer: |

View File

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

View File

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