Update menu: [Groups, About] -> [Connect, Learn]

This commit is contained in:
Rohan Mitchell
2016-08-03 14:38:29 +10:00
parent 5b43d7a87a
commit 1216da38d1
3 changed files with 25 additions and 12 deletions

View File

@@ -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'

View File

@@ -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?

View File

@@ -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"