mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update menu: [Groups, About] -> [Connect, Learn]
This commit is contained in:
@@ -17,14 +17,25 @@
|
||||
%a{href: main_app.producers_path}
|
||||
%span.nav-primary
|
||||
= t 'label_producers'
|
||||
%li
|
||||
%a{href: main_app.groups_path}
|
||||
%span.nav-primary
|
||||
= t 'label_groups'
|
||||
%li
|
||||
%a{href: ContentConfig.footer_about_url}
|
||||
%span.nav-primary
|
||||
= t 'label_about'
|
||||
- if feature? :connect_learn_homepage
|
||||
%li
|
||||
%a{href: "https://openfoodnetwork.org/au/connect/"}
|
||||
%span.nav-primary
|
||||
= t 'label_connect'
|
||||
%li
|
||||
%a{href: "https://openfoodnetwork.org/au/learn/"}
|
||||
%span.nav-primary
|
||||
= t 'label_learn'
|
||||
- else
|
||||
%li
|
||||
%a{href: main_app.groups_path}
|
||||
%span.nav-primary
|
||||
= t 'label_groups'
|
||||
%li
|
||||
%a{href: ContentConfig.footer_about_url}
|
||||
%span.nav-primary
|
||||
= t 'label_about'
|
||||
|
||||
%ul.right
|
||||
- if spree_current_user.nil?
|
||||
= render 'shared/signed_out'
|
||||
|
||||
@@ -41,15 +41,15 @@
|
||||
%i.ofn-i_036-producers
|
||||
= t 'label_producers'
|
||||
%li.li-menu
|
||||
%a{href: main_app.groups_path}
|
||||
%a{href: "https://openfoodnetwork.org/au/connect/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_035-groups
|
||||
= t 'label_groups'
|
||||
= t 'label_connect'
|
||||
%li.li-menu
|
||||
%a{href: ContentConfig.footer_about_url}
|
||||
%a{href: "https://openfoodnetwork.org/au/learn/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_about'
|
||||
= t 'label_learn'
|
||||
|
||||
%li
|
||||
- if spree_current_user.nil?
|
||||
|
||||
@@ -255,6 +255,8 @@ en:
|
||||
label_producers: "Producers"
|
||||
label_groups: "Groups"
|
||||
label_about: "About"
|
||||
label_connect: "Connect"
|
||||
label_learn: "Learn"
|
||||
label_shopping: "Shopping"
|
||||
label_login: "Login"
|
||||
label_logout: "Logout"
|
||||
|
||||
Reference in New Issue
Block a user