From b18cb4fe478fd55997cec2d35b6e3eb7aa0bc02e Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Sun, 28 Oct 2012 20:01:58 -0200 Subject: [PATCH] Making clear that emails sent to community goes to admins --- app/views/blocks/profile_info_actions/community.rhtml | 2 +- app/views/contact/new.rhtml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/blocks/profile_info_actions/community.rhtml b/app/views/blocks/profile_info_actions/community.rhtml index 8b6ff03..96cb8f7 100644 --- a/app/views/blocks/profile_info_actions/community.rhtml +++ b/app/views/blocks/profile_info_actions/community.rhtml @@ -32,7 +32,7 @@ { :profile => profile.identifier, :controller => 'contact', :action => 'new' }, - :class => 'button with-text icon-menu-mail' %> + {:class => 'button with-text icon-menu-mail', :title => _('Send an e-mail to the administrators')} %> <% end %> diff --git a/app/views/contact/new.rhtml b/app/views/contact/new.rhtml index 03a12d3..ffcaac0 100644 --- a/app/views/contact/new.rhtml +++ b/app/views/contact/new.rhtml @@ -1,7 +1,8 @@ -

<%= _('Send an e-mail to %s') % profile.name %>

+

<%= _('Send an e-mail to administrators') %>

-<%= error_messages_for 'contact' %> +
<%= _("The e-mail will be sent to the administrator of community '%s'") % profile.name %>
+<%= error_messages_for 'contact' %> <% labelled_form_for :contact, @contact do |f| %> <%= hidden_field_tag(:confirm, 'false') %> -- libgit2 0.21.2