Some fixes for mailer module.
This commit is contained in:
parent
6f7682d6a0
commit
c936813967
6 changed files with 41 additions and 40 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<%= yield %>
|
||||
|
||||
--
|
||||
FoodSoft: <%= url_for(:controller => "home", :action => "index", :only_path => false) %>
|
||||
FoodSoft: <%= root_url %>
|
||||
Foodcoop-Homepage: <%= Foodsoft.config[:homepage] %>
|
||||
Hilfe/Help: <%= Foodsoft.config[:help_url] %>
|
||||
13
app/views/mailer/foodsoft_message.text.erb
Normal file
13
app/views/mailer/foodsoft_message.text.erb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Foodsoft-Nachricht
|
||||
|
||||
Von: <%= @message.sender.nick %>
|
||||
|
||||
======================================================================
|
||||
|
||||
<%= @message.body %>
|
||||
|
||||
======================================================================
|
||||
|
||||
Antworten: <%= new_message_url('message[reply_to]' => @message.id) %>
|
||||
Nachricht online einsehen: <%= message_url(@message) %>
|
||||
Nachrichten-Einstellungen: <%= my_profile_url %>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Foodsoft-Nachricht
|
||||
|
||||
Von: <%= @sender %>
|
||||
An: <%= @recipients %>
|
||||
|
||||
======================================================================
|
||||
<%= @body %>
|
||||
======================================================================
|
||||
|
||||
Antworten: <%= @reply %>
|
||||
Nachricht online einsehen: <%= @link %>
|
||||
Nachrichten-Einstellungen: <%= @profile %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue