Commit 2a875d50cc7bb83eebbf1700bf1d6ff86e6deff2

Authored by Larissa Reis
1 parent 3371aaf9

Removes "What's new" tab from Community's homepage

  "What's new" tab have a duplicate content from the Wall tab.
  This patch just removes the tab from the Community's index page.
Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
app/views/profile/index.rhtml
... ... @@ -29,7 +29,6 @@
29 29 <% if logged_in? && current_person.follows?(@profile) %>
30 30 <% tabs << {:title => _('Wall'), :id => 'profile-wall', :content => (render :partial => 'profile_wall')} %>
31 31 <% end %>
32   - <% tabs << {:title => _('What\'s new'), :id => 'profile-network', :content => (render :partial => 'profile_network')} %>
33 32 <% elsif @profile.person? %>
34 33 <% tabs << {:title => _('Profile'), :id => 'person-profile', :content => (render :partial => 'person_profile')} %>
35 34 <% if logged_in? && current_person.follows?(@profile) %>
... ...