Skip to content

Commit 3c8c7fb

Browse files
committed
remove networks from index
1 parent 14e9e82 commit 3c8c7fb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

app/views/protips/index.html.haml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,6 @@
8181
.inside
8282
%h1 Following
8383

84-
.inside-panel
85-
%h2 Networks
86-
%ul.protips-grid.new-networks-list.cf
87-
- following_networks = current_user.following_networks
88-
#x-following-networks.hide{'data-networks' => following_networks.map(&:slug)}
89-
90-
- following_networks.limit(11).map(&:slug).each do |slug|
91-
%li{style: "border-color:##{color_signature(slug)}"}
92-
= link_to '', leave_network_path(id: slug), class: "unfollow followed #{slug}", remote: true, method: :post, rel: 'nofollow'
93-
%a.new-network{href: network_path(id: slug)}
94-
= slug.humanize
95-
- if following_networks.count > 11
96-
%li.plus-more
97-
%a{href: user_networks_path(username:current_user.username)}
98-
99-
%span.x-follow-count
100-
= following_networks.count - 11
101-
more
102-
103-
10484
%h2 Connections
10585
%ul.protips-grid.connections-list.cf
10686
- following_users = current_user.following_users

0 commit comments

Comments
 (0)