Commit b804a1e05b6b38087c2122f341c13e0c943c1310
1 parent
d97b2e18
Exists in
master
and in
29 other branches
ActionItem657: destroy word reviewed
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2481 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
3 changed files
with
8 additions
and
3 deletions
Show diff stats
app/views/memberships/destroy_community.rhtml
1 | -<h1><%= _('Destroy %s') % @community.short_name %></h1> | |
1 | +<h1><%= _('To remove %s') % @community.short_name %></h1> | |
2 | 2 | |
3 | -<p><strong><%= _('Are you sure you want to destroy %s?') % @community.short_name %></strong></p> | |
3 | +<p><strong><%= _('Are you sure you want to <u>destroy</u> "%s"?') % content_tag( 'i', @community.name ) %></strong></p> | |
4 | 4 | |
5 | 5 | <% form_tag do %> |
6 | 6 | <%= hidden_field_tag(:confirmation, 1) %> | ... | ... |
app/views/memberships/index.rhtml
... | ... | @@ -17,7 +17,7 @@ |
17 | 17 | <%= _('Created at: %s') % show_date(membership.created_at) %> <br/> |
18 | 18 | <%= [ link_to(_('Manage'), membership.admin_url), |
19 | 19 | link_to(_('Leave'), { :profile => profile.identifier, :controller => 'memberships', :action => 'leave', :id => membership }), |
20 | - (membership.community? && user.has_permission?(:destroy_profile, membership) ? link_to(_('Destroy'), { :action => 'destroy_community', :id => membership }) : nil) | |
20 | + (membership.community? && user.has_permission?(:destroy_profile, membership) ? link_to(_('Remove'), { :action => 'destroy_community', :id => membership }) : nil) | |
21 | 21 | ].compact.join(', ') |
22 | 22 | %> |
23 | 23 | </span> | ... | ... |
public/stylesheets/controller_memberships.css