comparison app/views/settings/.svn/text-base/_notifications.rhtml.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children 07fa8a8b56a8
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
5 <p><%= setting_text_field :mail_from, :size => 60 %></p> 5 <p><%= setting_text_field :mail_from, :size => 60 %></p>
6 6
7 <p><%= setting_check_box :bcc_recipients %></p> 7 <p><%= setting_check_box :bcc_recipients %></p>
8 8
9 <p><%= setting_check_box :plain_text_mail %></p> 9 <p><%= setting_check_box :plain_text_mail %></p>
10
11 <p><%= setting_select(:default_notification_option, User::MAIL_NOTIFICATION_OPTIONS.collect {|o| [l(o.last), o.first.to_s]}) %></p>
12
10 </div> 13 </div>
11 14
12 <fieldset class="box settings" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend> 15 <fieldset class="box" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend>
13 <%= setting_multiselect(:notified_events, 16 <%= hidden_field_tag 'settings[notified_events][]', '' %>
14 @notifiables.collect {|notifiable| [l_or_humanize(notifiable, :prefix => 'label_'), notifiable]}, :label => false) %> 17 <% @notifiables.each do |notifiable| %>
18 <%= notification_field notifiable %>
19 <br />
20 <% end %>
21 <p><%= check_all_links('notified_events') %></p>
22 </fieldset>
15 23
16 <p><%= check_all_links('notified_events') %></p> 24 <fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
25 <%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
17 </fieldset> 26 </fieldset>
18 27
19 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend> 28 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
20 <%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %> 29 <%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %>
21 </fieldset> 30 </fieldset>