diff --git a/app/views/memberships/destroy_community.rhtml b/app/views/memberships/destroy_community.rhtml index b206576..a5cbbcf 100644 --- a/app/views/memberships/destroy_community.rhtml +++ b/app/views/memberships/destroy_community.rhtml @@ -1,6 +1,6 @@ -

<%= _('Destroy %s') % @community.short_name %>

+

<%= _('To remove %s') % @community.short_name %>

-

<%= _('Are you sure you want to destroy %s?') % @community.short_name %>

+

<%= _('Are you sure you want to destroy "%s"?') % content_tag( 'i', @community.name ) %>

<% form_tag do %> <%= hidden_field_tag(:confirmation, 1) %> diff --git a/app/views/memberships/index.rhtml b/app/views/memberships/index.rhtml index 603ea29..b23baf3 100644 --- a/app/views/memberships/index.rhtml +++ b/app/views/memberships/index.rhtml @@ -17,7 +17,7 @@ <%= _('Created at: %s') % show_date(membership.created_at) %>
<%= [ link_to(_('Manage'), membership.admin_url), link_to(_('Leave'), { :profile => profile.identifier, :controller => 'memberships', :action => 'leave', :id => membership }), - (membership.community? && user.has_permission?(:destroy_profile, membership) ? link_to(_('Destroy'), { :action => 'destroy_community', :id => membership }) : nil) + (membership.community? && user.has_permission?(:destroy_profile, membership) ? link_to(_('Remove'), { :action => 'destroy_community', :id => membership }) : nil) ].compact.join(', ') %> diff --git a/public/stylesheets/controller_memberships.css b/public/stylesheets/controller_memberships.css index 81ea9ae..04295c8 100644 --- a/public/stylesheets/controller_memberships.css +++ b/public/stylesheets/controller_memberships.css @@ -35,3 +35,8 @@ #memberships-index li .vcard a.profile_link.url:hover { border: 2px solid #2A5896; } + +.action_memberships_destroy_community .main-block u { + text-decoration: none; + border-bottom: 1px dotted red; +} -- libgit2 0.21.2