cirandas.net

ref: master

app/views/mailconf/index.html.erb


<%= _('e-Mail configuration') %>

<%= error_messages_for :task %> <% if profile.user.email_activation_pending? %>

<%= _('You already request activation of your mailbox. Please wait until an administrator approves your request.') %>

<%= button_bar do %> <%= button :back, _('Back to control panel'), :controller => 'profile_editor' %> <% end %> <% else %> <% if profile.user.enable_email %>

<%= ('E-mail address') %>

    <%= safe_join(profile.email_addresses.map{|i| content_tag('li', i)}, "\n") %>

<%= _('Configuration') %>

  • <%= link_to _('Mail configuration for POP and IMAP'), 'http://www.ynternet.org/move/infos-technique-pour-utiliser-multypass-pop3-smtp-imap-ftp-quotas...' %>
<%= button_bar do %> <%= button :back, _('Back to control panel'), :controller => 'profile_editor' %> <% end %> <% else %>

<%= _("Enable e-Mail account below:") %>

    <%= safe_join(profile.email_addresses.map{|i| content_tag('li', i)}, "\n") %>
<%= _("You'll be able to access a webmail from your user menu.") %>
<%= button_bar do %> <%= button(:ok, _('Enable e-Mail'), { :action => 'enable' }, :method => 'post') %> <%= button :back, _('Back to control panel'), :controller => 'profile_editor' %> <% end %> <% end %> <% end %>