From a712f254e0424f7756f73f49103e161802e21cd7 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 18 Jun 2021 10:13:41 +1000 Subject: [PATCH] Remove Australian custom homepage content This was activated with a feature toggle. But when we re-implemented the feature toggles, we accidentally broke this one and it hasn't been active for two months. Nobody complained and it doesn't seem to be needed while developers are keen to remove instance-specific customisations anyway. --- app/views/home/index.html.haml | 12 ++---------- config/locales/en.yml | 8 -------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 485fa84cff..49da911e20 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -10,16 +10,8 @@ #panes = render "home/brandstory" - - - if feature? :connect_learn_homepage - = render "home/learn" - = render "home/connect" - = render "home/system" - - else - = render "home/system" - = render "home/cta" - + = render "home/system" + = render "home/cta" = render "home/stats" - = render "shared/footer" diff --git a/config/locales/en.yml b/config/locales/en.yml index 85ef5a75a5..323d10b26e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1476,8 +1476,6 @@ en: label_producers: "Producers" label_groups: "Groups" label_about: "About" - label_connect: "Connect" - label_learn: "Learn" label_blog: "Blog" label_support: "Support" label_shopping: "Shopping" @@ -1571,12 +1569,6 @@ en: brandstory_part5_strong: "We call it Open Food Network." brandstory_part6: "We all love food. Now we can love our food system too." - learn_body: "Explore models, stories and resources to support you to develop your fair food business or organisation. Find training, events and other opportunities to learn from peers." - learn_cta: "Get Inspired" - - connect_body: "Search our full directories of producers, hubs and groups to find fair food traders near you. List your business or organisation on the OFN so buyers can find you. Join the community to get advice and solve problems together." - connect_cta: "Go Exploring" - system_headline: "Shopping - here's how it works." system_step1: "1. Search" system_step1_text: "Search our diverse, independent shops for seasonal local food. Search by neighbourhood and food category, or whether you prefer delivery or pickup."