Revision 7949aadb
Added by Marek Hulán almost 6 years ago
app/views/settings/category/_email.html.erb | ||
---|---|---|
<%= link_to_function(_("Test email"), "tfm.users.testMail(this, '#{test_mail_user_url(User.current)}')",
|
||
:title => _("Send a test message to the current user's email address to confirm the configuration is working."), :id => "test_mail_button", :class =>"btn btn-success") + hidden_spinner('', :id => 'test_indicator').html_safe %>
|
||
<%= content_tag(:br) %>
|
||
<% if Setting[:login] %>
|
||
<%= link_to_function(_("Test email"), "tfm.users.testMail(this, '#{test_mail_user_url(User.current)}')",
|
||
:title => _("Send a test message to the current user's email address to confirm the configuration is working."), :id => "test_mail_button", :class =>"btn btn-success") + hidden_spinner('', :id => 'test_indicator').html_safe %>
|
||
<%= content_tag(:br) %>
|
||
<% end %>
|
Also available in: Unified diff
Fixes #23782 - restore login disabling