Commit 5afbd8eafe1ed186a40944f81043287a7f9eb287
1 parent
21aea18e
Exists in
master
and in
23 other branches
Removed duplicated "Interests" on person profile
Showing
1 changed file
with
0 additions
and
12 deletions
Show diff stats
app/views/profile/_person_profile.rhtml
| @@ -57,18 +57,6 @@ | @@ -57,18 +57,6 @@ | ||
| 57 | <td><%= link_to profile.communities.count, :controller => "profile", :action => 'communities' %></td> | 57 | <td><%= link_to profile.communities.count, :controller => "profile", :action => 'communities' %></td> |
| 58 | </tr> | 58 | </tr> |
| 59 | 59 | ||
| 60 | - <% if !environment.enabled?('disable_categories') && !profile.interests.empty? %> | ||
| 61 | - <tr> | ||
| 62 | - <th colspan='2'><%= _('Interests') %></th> | ||
| 63 | - </tr> | ||
| 64 | - <% profile.interests.each do |item| %> | ||
| 65 | - <tr> | ||
| 66 | - <td></td> | ||
| 67 | - <td><%= link_to item.name, :controller => 'search', :action => 'category_index', :category_path => item.explode_path %></td> | ||
| 68 | - </tr> | ||
| 69 | - <% end %> | ||
| 70 | - <% end %> | ||
| 71 | - | ||
| 72 | <%= render :partial => 'common' %> | 60 | <%= render :partial => 'common' %> |
| 73 | 61 | ||
| 74 | </table> | 62 | </table> |