New foodcoop configuration option. Use own mailinglist instead of messaging system.

This commit is contained in:
Benjamin Meichsner 2009-03-17 18:13:00 +01:00
parent 312e51e8dc
commit e4c394d881
2 changed files with 17 additions and 6 deletions

View file

@ -5,8 +5,19 @@
%p
%fieldset
= f.check_box :sent_to_all, :onchange => "Element.toggle('recipients')"
gesamte Foodcoop
- if APP_CONFIG[:mailing_list].blank?
= f.check_box :sent_to_all, :onchange => "Element.toggle('recipients')"
gesamte Foodcoop
- else
%b Nachrichten an alle
verschickst Du bitte über den Verteiler:
= mail_to APP_CONFIG[:mailing_list]
%br/
%small{:style => "color:grey"}
Eventuell musst Du Dich dem Verteiler erst bekannt machen.
%br/
z.b. mit einer Mail an
= mail_to APP_CONFIG[:mailing_list_subscribe]
%table#recipients
%tr
%td