mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Adding UK About pages to menus
This commit is contained in:
@@ -26,6 +26,23 @@
|
||||
%a{href: "https://openfoodnetwork.org/au/learn/"}
|
||||
%span.nav-primary
|
||||
= t 'label_learn'
|
||||
- elsif feature? :about_blog_homepage
|
||||
%li
|
||||
%a{href: main_app.groups_path}
|
||||
%span.nav-primary
|
||||
= t 'label_groups'
|
||||
%li
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/"}
|
||||
%span.nav-primary
|
||||
= t 'label_about'
|
||||
%li
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/blog/"}
|
||||
%span.nav-primary
|
||||
= t 'label_blog'
|
||||
%li
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/support/"}
|
||||
%span.nav-primary
|
||||
= t 'label_support'
|
||||
- else
|
||||
%li
|
||||
%a{href: main_app.groups_path}
|
||||
|
||||
@@ -51,6 +51,27 @@
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_learn'
|
||||
- elsif feature? :about_blog_homepage
|
||||
%li.li-menu
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_019-map-pin
|
||||
= t 'label_about'
|
||||
%li.li-menu
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/blog"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_037-map
|
||||
= t 'label_blog'
|
||||
%li.li-menu
|
||||
%a{href: "http://about.openfoodnetwork.org.uk/support"}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_013-help
|
||||
= t 'label_support'
|
||||
%li.li-menu
|
||||
%a{href: main_app.groups_path}
|
||||
%span.nav-primary
|
||||
%i.ofn-i_035-groups
|
||||
= t 'label_groups'
|
||||
- else
|
||||
%li.li-menu
|
||||
%a{href: main_app.groups_path}
|
||||
|
||||
@@ -883,6 +883,8 @@ en:
|
||||
label_about: "About"
|
||||
label_connect: "Connect"
|
||||
label_learn: "Learn"
|
||||
label_blog: "Blog"
|
||||
label_support: "Support"
|
||||
label_shopping: "Shopping"
|
||||
label_login: "Login"
|
||||
label_logout: "Logout"
|
||||
|
||||
Reference in New Issue
Block a user