summaryrefslogtreecommitdiffstats
path: root/app/views/admin
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-14 10:36:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-14 10:36:19 +0000
commit0061a3f04afee7654b3cbb35505a6af3dfbb3b53 (patch)
tree744406b126f1cc873b5c3abac0f3a3c00c306062 /app/views/admin
parent7e755a53b8536caf0c792e0d83270a9aac1da893 (diff)
downloadredmine-0061a3f04afee7654b3cbb35505a6af3dfbb3b53.tar.gz
redmine-0061a3f04afee7654b3cbb35505a6af3dfbb3b53.zip
Added 'email sending test' functionality.
Go to Admin -> Mail notifications and click on 'Send a test email'. If an error occurs while sending the mail, the error message is displayed to the user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@632 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/mail_options.rhtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/admin/mail_options.rhtml b/app/views/admin/mail_options.rhtml
index ef22fe53e..c70965776 100644
--- a/app/views/admin/mail_options.rhtml
+++ b/app/views/admin/mail_options.rhtml
@@ -16,10 +16,11 @@
<div class="clear"></div>
</fieldset>
<% end %>
-
<br />
-<p><%= check_all_links('mail_options_form') %></p>
+<%= check_all_links('mail_options_form') %>
</div>
-<%= submit_tag l(:button_save) %>
+<p><%= submit_tag l(:button_save) %></p>
<% end %>
+
+<%= link_to l(:label_send_test_email), :action => 'test_email' %>