Apply connect_learn_homepage feature toggle to mobile menu

This commit is contained in:
Rohan Mitchell
2016-12-16 14:32:48 +11:00
parent bbcaef20a8
commit c8f0502e71

View File

@@ -40,16 +40,17 @@
%span.nav-primary
%i.ofn-i_036-producers
= t 'label_producers'
%li.li-menu
%a{href: "https://openfoodnetwork.org/au/connect/"}
%span.nav-primary
%i.ofn-i_035-groups
= t 'label_connect'
%li.li-menu
%a{href: "https://openfoodnetwork.org/au/learn/"}
%span.nav-primary
%i.ofn-i_013-help
= t 'label_learn'
- if feature? :connect_learn_homepage
%li.li-menu
%a{href: "https://openfoodnetwork.org/au/connect/"}
%span.nav-primary
%i.ofn-i_035-groups
= t 'label_connect'
%li.li-menu
%a{href: "https://openfoodnetwork.org/au/learn/"}
%span.nav-primary
%i.ofn-i_013-help
= t 'label_learn'
%li
- if spree_current_user.nil?