Commit 7580671035503cbeac77eea8d58a9ef8b372ac8d

Authored by Rodrigo Souto
Committed by Antonio Terceiro
1 parent b6bee3dc

Substituting 'helps' -> Removing surely unnecessary contents

* This patch just removes all the help animations and its contents
	  that are surely unnecessary.
app/views/account/activation_question.rhtml
... ... @@ -30,7 +30,7 @@
30 30  
31 31 <p><%= _("This is a question to know if you really are part of this enterprise. Pay atention because you have only one chance to answer right and activate your enterprise. If you answer wrong you will not be able to activate the enterprise automaticaly and must get in touch with the admins of %s by email or phone.") % environment.name %> </p>
32 32  
33   - <%= ApplicationHelper::NoosferoFormBuilder::output_field(@question == :foundation_year ? (_("What year your enterprise was founded? It must have 4 digits, eg 1990. %s") % environment.tip_message_enterprise_activation_question) : _('What is the CNPJ of your enterprise?'), text_field_tag(:answer, nil, :id => 'enterprise-activation-answer', :help => help=_('We need to be sure that this is your enterprise'))) %>
  33 + <%= ApplicationHelper::NoosferoFormBuilder::output_field(@question == :foundation_year ? (_("What year your enterprise was founded? It must have 4 digits, eg 1990. %s") % environment.tip_message_enterprise_activation_question) : _('What is the CNPJ of your enterprise?'), text_field_tag(:answer, nil, :id => 'enterprise-activation-answer')) %>
34 34  
35 35 <%= hidden_field_tag :enterprise_code, params[:enterprise_code] %>
36 36  
... ...
app/views/account/index_anonymous.rhtml
1 1 <h1><%= _('Identify yourself') %></h1>
2 2  
3 3 <p>
4   -<%= lightbox_link_to _('Login.'), { :controller => 'account', :action => 'login_popup' },
5   - :help => _('Click here to enter your username and password and be recognized by the system.') %>
  4 +<%= lightbox_link_to _('Login.'), { :controller => 'account', :action => 'login_popup' } %>
6 5  
7 6 <%= _('You need to login to be able to use all the features in this environment.') %>
8 7 </p>
... ...
app/views/profile/communities.rhtml
1   -<div class="common-profile-list-block"
2   - help="<%= _('Here are all <b>%s</b>\'s communities.') % profile.name %>">
  1 +<div class="common-profile-list-block">
3 2  
4 3 <h1><%= _("%s's communities") % profile.name %></h1>
5 4  
... ... @@ -16,8 +15,7 @@
16 15 <% end %>
17 16  
18 17 <% button_bar do %>
19   - <%= button :back, _('Go back'), { :controller => 'profile' },
20   - :help => _('Back to the page where you come from.') %>
  18 + <%= button :back, _('Go back'), { :controller => 'profile' } %>
21 19 <%= button :add, _('Create a new community'),
22 20 :controller => 'memberships', :action => 'new_community' if logged_in? && user == profile %>
23 21 <% end %>
... ...
app/views/profile/enterprises.rhtml
1   -<div class="common-profile-list-block"
2   - help="<%= __('Here are all <b>%s</b>\'s enterprises.') % profile.name %>">
  1 +<div class="common-profile-list-block">
3 2  
4 3 <h1><%= __("%s's enterprises") % profile.name %></h1>
5 4  
... ... @@ -10,8 +9,7 @@
10 9 </ul>
11 10  
12 11 <% button_bar do %>
13   - <%= button :back, _('Go back'), { :controller => 'profile' },
14   - :help => _('Back to the page where you come from.') %>
  12 + <%= button :back, _('Go back'), { :controller => 'profile' } %>
15 13 <%= button :add, __('Register a new Enterprise'), :controller => 'enterprise_registration' if logged_in? && environment.enabled?('enterprise_registration') %>
16 14 <% end %>
17 15  
... ...
app/views/profile/favorite_enterprises.rhtml
1   -<div class="common-profile-list-block"
2   - help="<%= __('Here are all <b>%s</b>\'s favorite enterprises.') % profile.name %>">
  1 +<div class="common-profile-list-block">
3 2  
4 3 <h1><%= __("%s's favorite enterprises") % profile.name %></h1>
5 4  
... ... @@ -10,8 +9,7 @@
10 9 </ul>
11 10  
12 11 <% button_bar do %>
13   - <%= button :back, _('Go back'), { :controller => 'profile' },
14   - :help => _('Back to the page where you come from.') %>
  12 + <%= button :back, _('Go back'), { :controller => 'profile' }%>
15 13 <% end %>
16 14  
17 15 </div><!-- fim class="common-profile-list-block" -->
... ...
app/views/profile/friends.rhtml
1   -<div class="common-profile-list-block"
2   - help="<%= __('Here are all <b>%s</b>\'s friends.') % profile.name %>">
  1 +<div class="common-profile-list-block">
3 2  
4 3 <h1><%= __("%s's friends") % profile.name %></h1>
5 4  
... ... @@ -16,7 +15,7 @@
16 15 <% end %>
17 16  
18 17 <% button_bar do %>
19   - <%= button :back, _('Go back'), { :controller => 'profile' }, :help => _('Back to the page where you come from.') %>
  18 + <%= button :back, _('Go back'), { :controller => 'profile' } %>
20 19 <% if user == profile %>
21 20 <%= button :edit, _('Manage my friends'), :controller => 'friends', :action => 'index', :profile => profile.identifier %>
22 21 <%= button(:search, _('Invite people from my e-mail contacts'), :controller => 'invite', :action => 'friends') %>
... ...
app/views/profile/members.rhtml
1   -<div class="common-profile-list-block"
2   - help="<%= _('Here are all <b>%s</b>\'s members.') % profile.name %>">
  1 +<div class="common-profile-list-block">
3 2  
4 3 <h1><%= _("%s's members") % profile.name %></h1>
5 4  
... ... @@ -16,7 +15,7 @@
16 15 <% end %>
17 16  
18 17 <% button_bar do %>
19   - <%= button :back, _('Go back'), { :controller => 'profile' }, :help => _('Back to the page where you come from.') %>
  18 + <%= button :back, _('Go back'), { :controller => 'profile' } %>
20 19 <% if profile.community? and user and user.has_permission?(:invite_members, profile) %>
21 20 <%= button :search, _('Invite your friends to join %s') % profile.name, :controller => 'invite', :action => 'friends' %>
22 21 <% end %>
... ...
app/views/shared/user_menu.rhtml
... ... @@ -16,7 +16,7 @@
16 16 <ul>
17 17  
18 18 <li>
19   - <%= link_to( '<span class="icon-menu-home"></span>' + __('My Home Page'), user.url, :help => _('Go to your home page.'))%>
  19 + <%= link_to( '<span class="icon-menu-home"></span>' + __('My Home Page'), user.url)%>
20 20 </li>
21 21  
22 22 <li>
... ...