Mercurial > hg > soundsoftware-site
comparison .svn/pristine/11/114804002a97fae230bf3b7bfcc60886698c2dd0.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
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 %> |