Commit 3d351025e9b974f1eedc0a698fe82dd01460d30e
1 parent
bc41167f
Exists in
master
and in
29 other branches
ActionItem862: not displaying "Created at:" for enterprises
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/memberships/index.rhtml
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 | <%= _('Type: %s') % getterm(membership.class.name) %> <br/> |
21 | 21 | <%= _('Description: %s') % membership.description + '<br/>' if membership.community? %> |
22 | 22 | <%= _('Members: %s') % membership.members.size.to_s %> <br/> |
23 | - <%= _('Created at: %s') % show_date(membership.created_at) %> <br/> | |
23 | + <%= _('Created at: %s') % show_date(membership.created_at) unless membership.enterprise? %> <br/> | |
24 | 24 | <%= [ link_to(_('Manage'), membership.admin_url), |
25 | 25 | link_to(_('Leave'), { :profile => profile.identifier, :controller => 'memberships', :action => 'leave', :id => membership }), |
26 | 26 | (membership.community? && user.has_permission?(:destroy_profile, membership) ? link_to(_('Remove'), { :action => 'destroy_community', :id => membership }) : nil) | ... | ... |