obsolete.ChilliProject/app/views/admin/mail_options.rhtml
Jean-Philippe Lang 23264ec3eb Mail notification options restored (default is: issue_added and issue_updated).
Added mail notification when adding a news (disabled by default).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-09-14 15:30:46 +00:00

20 lines
633 B
Plaintext

<div class="contextual">
<%= link_to l(:label_send_test_email), :action => 'test_email' %>
</div>
<h2><%=l(:field_mail_notification)%></h2>
<% form_tag({:action => 'mail_options'}, :id => 'mail-options-form') do %>
<fieldset class="box"><legend><%=l(:text_select_mail_notifications)%></legend>
<% @notifiables.each do |notifiable| %>
<p><label><%= check_box_tag "notified_events[]", notifiable, Setting.notified_events.include?(notifiable) %>
<%= notifiable.humanize %></label></p>
<% end %>
<div class="clear"></div>
</fieldset>
<p><%= check_all_links('mail-options-form') %></p>
<%= submit_tag l(:button_save) %>
<% end %>