Commit 81d8153f5b7ad73038de37b6cc9ca92abad54d75
1 parent
f7e9e2e4
Exists in
master
and in
22 other branches
ActionItem792: removing "Since mm/yyyy", keeping only for people
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/blocks/profile_info.rhtml
@@ -21,7 +21,9 @@ | @@ -21,7 +21,9 @@ | ||
21 | <% if !user.nil? and user.has_permission?('edit_profile', profile) %> | 21 | <% if !user.nil? and user.has_permission?('edit_profile', profile) %> |
22 | <li><%= link_to _('Control panel'), :controller => 'profile_editor' %></li> | 22 | <li><%= link_to _('Control panel'), :controller => 'profile_editor' %></li> |
23 | <% end %> | 23 | <% end %> |
24 | - <li><%= _('Since %{year}/%{month}') % { :year => block.owner.created_at.year, :month => block.owner.created_at.month } %></li> | 24 | + <% if profile.person? %> |
25 | + <li><%= _('Since %{year}/%{month}') % { :year => block.owner.created_at.year, :month => block.owner.created_at.month } %></li> | ||
26 | + <% end %> | ||
25 | </ul> | 27 | </ul> |
26 | 28 | ||
27 | <% if profile.respond_to? :city %> | 29 | <% if profile.respond_to? :city %> |