comparison .svn/pristine/3a/3a0ec6ca576efa35e50d358195ea2367ed65fcba.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
1 <% if @deliveries %>
2 <%= form_tag({:action => 'edit', :tab => 'notifications'}) do %>
3
4 <div class="box tabular settings">
5 <p><%= setting_text_field :mail_from, :size => 60 %></p>
6
7 <p><%= setting_check_box :bcc_recipients %></p>
8
9 <p><%= setting_check_box :plain_text_mail %></p>
10
11 <p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p>
12
13 </div>
14
15 <fieldset class="box" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend>
16 <%= hidden_field_tag 'settings[notified_events][]', '' %>
17 <% @notifiables.each do |notifiable| %>
18 <%= notification_field notifiable %>
19 <br />
20 <% end %>
21 <p><%= check_all_links('notified_events') %></p>
22 </fieldset>
23
24 <fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
25 <%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
26 </fieldset>
27
28 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
29 <%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %>
30 </fieldset>
31
32 <div style="float:right;">
33 <%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %>
34 </div>
35
36 <%= submit_tag l(:button_save) %>
37 <% end %>
38 <% else %>
39 <div class="nodata">
40 <%= simple_format(l(:text_email_delivery_not_configured)) %>
41 </div>
42 <% end %>