mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
![Toshi MARUYAMA](/assets/img/avatar_default.png)
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6615 e93f8b46-1217-0410-a6f0-8f06a7374b81
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
<% if @deliveries %>
|
|
<% form_tag({:action => 'edit', :tab => 'notifications'}) do %>
|
|
|
|
<div class="box tabular settings">
|
|
<p><%= setting_text_field :mail_from, :size => 60 %></p>
|
|
|
|
<p><%= setting_check_box :bcc_recipients %></p>
|
|
|
|
<p><%= setting_check_box :plain_text_mail %></p>
|
|
|
|
<p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
|
|
|
|
</div>
|
|
|
|
<fieldset class="box" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend>
|
|
<%= hidden_field_tag 'settings[notified_events][]', '' %>
|
|
<% @notifiables.each do |notifiable| %>
|
|
<%= notification_field notifiable %>
|
|
<br />
|
|
<% end %>
|
|
<p><%= check_all_links('notified_events') %></p>
|
|
</fieldset>
|
|
|
|
<fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
|
|
<%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
|
|
</fieldset>
|
|
|
|
<fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
|
|
<%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %>
|
|
</fieldset>
|
|
|
|
<div style="float:right;">
|
|
<%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %>
|
|
</div>
|
|
|
|
<%= submit_tag l(:button_save) %>
|
|
<% end %>
|
|
<% else %>
|
|
<div class="nodata">
|
|
<%= simple_format(l(:text_email_delivery_not_configured)) %>
|
|
</div>
|
|
<% end %>
|