Commit 81d8153f5b7ad73038de37b6cc9ca92abad54d75

Authored by Antonio Terceiro
1 parent f7e9e2e4

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 21 <% if !user.nil? and user.has_permission?('edit_profile', profile) %>
22 22 <li><%= link_to _('Control panel'), :controller => 'profile_editor' %></li>
23 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 27 </ul>
26 28  
27 29 <% if profile.respond_to? :city %>
... ...