Mercurial > hg > soundsoftware-site
annotate .svn/pristine/11/114804002a97fae230bf3b7bfcc60886698c2dd0.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <% if @deliveries %> |
Chris@909 | 2 <% form_tag({:action => 'edit', :tab => 'notifications'}) do %> |
Chris@909 | 3 |
Chris@909 | 4 <div class="box tabular settings"> |
Chris@909 | 5 <p><%= setting_text_field :mail_from, :size => 60 %></p> |
Chris@909 | 6 |
Chris@909 | 7 <p><%= setting_check_box :bcc_recipients %></p> |
Chris@909 | 8 |
Chris@909 | 9 <p><%= setting_check_box :plain_text_mail %></p> |
Chris@909 | 10 |
Chris@909 | 11 <p><%= setting_select(:default_notification_option, User.valid_notification_options.collect {|o| [l(o.last), o.first.to_s]}) %></p> |
Chris@909 | 12 |
Chris@909 | 13 </div> |
Chris@909 | 14 |
Chris@909 | 15 <fieldset class="box" id="notified_events"><legend><%=l(:text_select_mail_notifications)%></legend> |
Chris@909 | 16 <%= hidden_field_tag 'settings[notified_events][]', '' %> |
Chris@909 | 17 <% @notifiables.each do |notifiable| %> |
Chris@909 | 18 <%= notification_field notifiable %> |
Chris@909 | 19 <br /> |
Chris@909 | 20 <% end %> |
Chris@909 | 21 <p><%= check_all_links('notified_events') %></p> |
Chris@909 | 22 </fieldset> |
Chris@909 | 23 |
Chris@909 | 24 <fieldset class="box"><legend><%= l(:setting_emails_header) %></legend> |
Chris@909 | 25 <%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %> |
Chris@909 | 26 </fieldset> |
Chris@909 | 27 |
Chris@909 | 28 <fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend> |
Chris@909 | 29 <%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %> |
Chris@909 | 30 </fieldset> |
Chris@909 | 31 |
Chris@909 | 32 <div style="float:right;"> |
Chris@909 | 33 <%= link_to l(:label_send_test_email), :controller => 'admin', :action => 'test_email' %> |
Chris@909 | 34 </div> |
Chris@909 | 35 |
Chris@909 | 36 <%= submit_tag l(:button_save) %> |
Chris@909 | 37 <% end %> |
Chris@909 | 38 <% else %> |
Chris@909 | 39 <div class="nodata"> |
Chris@909 | 40 <%= simple_format(l(:text_email_delivery_not_configured)) %> |
Chris@909 | 41 </div> |
Chris@909 | 42 <% end %> |