Commit b804a1e05b6b38087c2122f341c13e0c943c1310

Authored by AurelioAHeckert
1 parent d97b2e18

ActionItem657: destroy word reviewed

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2481 3f533792-8f58-4932-b0fe-aaf55b0a4547
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
... ... @@ -35,3 +35,8 @@
35 35 #memberships-index li .vcard a.profile_link.url:hover {
36 36 border: 2px solid #2A5896;
37 37 }
  38 +
  39 +.action_memberships_destroy_community .main-block u {
  40 + text-decoration: none;
  41 + border-bottom: 1px dotted red;
  42 +}
... ...