Small fixes

pull/6827/head
Felix Schäfer 14 years ago committed by Felix Schäfer
parent 5087138571
commit a154829a20
  1. 4
      app/models/meeting.rb
  2. 1
      config/locales/de.yml
  3. 1
      config/locales/en.yml
  4. 4
      lib/redmine_meeting/patch_redmine_classes.rb

@ -50,10 +50,6 @@ class Meeting < ActiveRecord::Base
title
end
def recipients
participants.collect(&:mail)
end
protected
def after_initialize

@ -8,6 +8,7 @@ de:
label_meeting_close: "Schließen"
label_meeting_open: "Öffnen"
label_meeting_agenda_close: "Agenda schließen um mit dem Protokoll zu beginnen"
label_notify: "Zur Einsicht verschicken"
field_participants: "Teilnehmer"
field_participants_invited: "Eingeladen"
field_participants_attended: "Anwesend"

@ -8,6 +8,7 @@ en:
label_meeting_close: "Close"
label_meeting_open: "Open"
label_meeting_agenda_close: "Close the agenda to begin the Minutes"
label_notify: "Send for review"
field_participants: "Participants"
field_participants_invited: "Invitees"
field_participants_attended: "Attendants"

@ -27,8 +27,8 @@ module Plugin
redmine_headers 'Project' => meeting.project.identifier,
'Meeting-Id' => meeting.id
message_id minutes
cc meeting.recipients
subject "[#{meeting.project.name}] #{l(:label_minutes)}: #{meeting.title}"
cc meeting.watcher_recipients # works only in production environment
subject "[#{meeting.project.name}] #{l(:label_meeting_minutes)}: #{meeting.title}"
body :minutes => minutes,
:minutes_url => url_for(:controller => 'meetings', :action => 'show', :id => meeting, :tab => 'minutes'),
:meeting_url => url_for(:controller => 'meetings', :action => 'show', :id => meeting)

Loading…
Cancel
Save