From e6fa08edfc231281fb31c07922cc6a1a1ce6cb69 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Tue, 28 Apr 2020 19:07:19 +0100 Subject: [PATCH] Delete some dead views --- app/views/modals/_food_hub.html.haml | 11 ----------- app/views/modals/_groups.html.haml | 9 --------- app/views/modals/_learn_more.html.haml | 17 ----------------- app/views/modals/_producers.html.haml | 7 ------- config/locales/en.yml | 20 -------------------- 5 files changed, 64 deletions(-) delete mode 100644 app/views/modals/_food_hub.html.haml delete mode 100644 app/views/modals/_groups.html.haml delete mode 100644 app/views/modals/_learn_more.html.haml delete mode 100644 app/views/modals/_producers.html.haml diff --git a/app/views/modals/_food_hub.html.haml b/app/views/modals/_food_hub.html.haml deleted file mode 100644 index 233512b5f0..0000000000 --- a/app/views/modals/_food_hub.html.haml +++ /dev/null @@ -1,11 +0,0 @@ -%h2 - %i.ofn-i_040-hub> - = t :modal_hubs -%h5 - = t :modal_hubs_abstract -%p - = t :modal_hubs_content1 -%p - = t :modal_hubs_content2 -%a.close-reveal-modal{"ng-click" => "$close()"} - %i.ofn-i_009-close diff --git a/app/views/modals/_groups.html.haml b/app/views/modals/_groups.html.haml deleted file mode 100644 index 4a6f092a03..0000000000 --- a/app/views/modals/_groups.html.haml +++ /dev/null @@ -1,9 +0,0 @@ -%h2 - %i.ofn-i_035-groups - = t :modal_groups -%p - = t :modal_groups -%p - = t :modal_groups -%a.close-reveal-modal{"ng-click" => "$close()"} - %i.ofn-i_009-close diff --git a/app/views/modals/_learn_more.html.haml b/app/views/modals/_learn_more.html.haml deleted file mode 100644 index 3a7330aee3..0000000000 --- a/app/views/modals/_learn_more.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -%h2 - = t :modal_how -%h5 - = t :modal_how_shop -%p - = t :modal_how_shop_explained -%h5 - = t :modal_how_pickup -%p - = t :modal_how_pickup_explained -%h5 - = t :modal_how -%p - = t :modal_how -%a.button.neutral-btn.dark{:href => "http://www.openfoodnetwork.org" , :target => "_blank" } Open Food Network -%a.close-reveal-modal{"ng-click" => "$close()"} - %i.ofn-i_009-close diff --git a/app/views/modals/_producers.html.haml b/app/views/modals/_producers.html.haml deleted file mode 100644 index 6e87e0d5c4..0000000000 --- a/app/views/modals/_producers.html.haml +++ /dev/null @@ -1,7 +0,0 @@ -%h2 - %i.ofn-i_036-producers - = t :modal_producers -%p - = t :modal_producers_explained -%a.close-reveal-modal{"ng-click" => "$close()"} - %i.ofn-i_009-close diff --git a/config/locales/en.yml b/config/locales/en.yml index 07a8a849c2..78d7fdf855 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1704,26 +1704,6 @@ See the %{link} to find out more about %{sitename}'s features and to start using login_invalid: "Invalid email or password" - modal_hubs: "Food Hubs" - modal_hubs_abstract: Our food hubs are the point of contact between you and the people who make your food! - modal_hubs_content1: You can search for a convenient hub by location or name. Some hubs have multiple points where you can pick-up your purchases, and some will also provide delivery options. Each food hub is a sales point with independent business operations and logistics - so variations between hubs are to be expected. - modal_hubs_content2: You can only shop at one food hub at a time. - - modal_groups: "Groups / Regions" - modal_groups_content1: These are the organisations and relationships between hubs which make up the Open Food Network. - modal_groups_content2: Some groups are clustered by location or council, others by non-geographic similarities. - - modal_how: "How it works" - modal_how_shop: Shop the Open Food Network - modal_how_shop_explained: Search for a food hub near you to start shopping! You can expand each food hub to see what kinds of goodies are available, and click through to start shopping. (You can only shop one food hub at a time.) - modal_how_pickup: Pick-ups, delivery and shipping costs - modal_how_pickup_explained: Some food hubs deliver to your door, while others require you to pick-up your purchases. You can see which options are available on the homepage, and select which you'd like at the shopping and check-out pages. Delivery will cost more, and pricing differs from hub-to-hub. Each food hub is a sales point with independent business operations and logisitics - so variations between hubs are to be expected. - modal_how_more: Learn more - modal_how_more_explained: "If you want to learn more about the Open Food Network, how it works, and get involved, check out:" - - modal_producers: "Producers" - modal_producers_explained: "Our producers make all the delicious food you can shop for on the Open Food Network." - producers_about: About us producers_buy: Shop for producers_contact: Contact