2007-09-14 17:30:46 +02:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to l(:label_send_test_email), :action => 'test_email' %>
|
|
|
|
</div>
|
|
|
|
|
2007-03-12 18:59:02 +01:00
|
|
|
<h2><%=l(:field_mail_notification)%></h2>
|
|
|
|
|
2007-09-14 17:30:46 +02:00
|
|
|
<% form_tag({:action => 'mail_options'}, :id => 'mail-options-form') do %>
|
|
|
|
|
|
|
|
<fieldset class="box"><legend><%=l(:text_select_mail_notifications)%></legend>
|
|
|
|
<% @notifiables.each do |notifiable| %>
|
2007-10-21 16:10:07 +02:00
|
|
|
<label><%= check_box_tag "notified_events[]", notifiable, Setting.notified_events.include?(notifiable) %>
|
|
|
|
<%= notifiable.humanize %></label><br />
|
2007-09-14 17:30:46 +02:00
|
|
|
<% end %>
|
2007-10-21 16:10:07 +02:00
|
|
|
<p><%= check_all_links('mail-options-form') %></p>
|
|
|
|
</fieldset>
|
|
|
|
|
2007-10-21 16:30:01 +02:00
|
|
|
<fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
|
2007-10-21 16:10:07 +02:00
|
|
|
<%= text_area_tag 'emails_footer', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %>
|
2007-09-14 17:30:46 +02:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
|
|
<% end %>
|