mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update Discover Regenerative description
This commit is contained in:
@@ -1282,22 +1282,26 @@ en:
|
||||
connected_apps:
|
||||
legend: "Connected apps"
|
||||
title: "Discover Regenerative"
|
||||
tagline: "Allow website to publish your enterprise information."
|
||||
enable: "Share data"
|
||||
disable: "Disconnect"
|
||||
tagline: "Allow Discover Regenerative to publish your enterprise information."
|
||||
enable: "Allow data sharing"
|
||||
disable: "Stop sharing"
|
||||
loading: "Loading"
|
||||
note: |
|
||||
In order for this enterprise to be published, you need to include
|
||||
regenerative details and accept the Terms and Conditions.
|
||||
link_label: "Update details"
|
||||
Your Open Food Network account is connected to Discover Regenerative.
|
||||
Add or update information on your Discover Regenerative listing here.
|
||||
link_label: "Manage listing"
|
||||
description_html: |
|
||||
<p>
|
||||
Discover Regenerative makes it easier for buyers to discover
|
||||
regenerative produce for their procurement, showcase producers that
|
||||
are using regenerative farming practices, support connection
|
||||
between buyers and producers within a trusted network.
|
||||
Eligible producers can showcase their regenerative credentials,
|
||||
farming practices and more through a profile listing.
|
||||
Simplifying how buyers can find regenerative produce and connect
|
||||
with producers of interest.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://about.openfoodnetwork.org.au/regen-produce-portal/"
|
||||
target="_blank"><b>Learn more about Discover Regenerative</b>
|
||||
<i class="icon-external-link"></i></a>
|
||||
</p>
|
||||
<p><a href="" target="_blank"><b>Visit website</b> <i class="icon-external-link"></i></a></p>
|
||||
actions:
|
||||
edit_profile: Settings
|
||||
properties: Properties
|
||||
|
||||
@@ -35,19 +35,19 @@ describe "Connected Apps", feature: :connected_apps, vcr: true do
|
||||
click_link "Connected apps"
|
||||
expect(page).to have_content "Discover Regenerative"
|
||||
|
||||
click_button "Share data"
|
||||
expect(page).to_not have_button "Share data"
|
||||
click_button "Allow data sharing"
|
||||
expect(page).to_not have_button "Allow data sharing"
|
||||
expect(page).to have_button "Loading", disabled: true
|
||||
|
||||
perform_enqueued_jobs(only: ConnectAppJob)
|
||||
expect(page).to_not have_button "Loading", disabled: true
|
||||
expect(page).to have_content "include regenerative details"
|
||||
expect(page).to have_link "Update details"
|
||||
expect(page).to have_content "account is connected"
|
||||
expect(page).to have_link "Manage listing"
|
||||
|
||||
click_button "Disconnect"
|
||||
expect(page).to have_button "Share data"
|
||||
expect(page).to_not have_button "Disconnect"
|
||||
expect(page).to_not have_content "include regenerative details"
|
||||
expect(page).to_not have_link "Update details"
|
||||
click_button "Stop sharing"
|
||||
expect(page).to have_button "Allow data sharing"
|
||||
expect(page).to_not have_button "Stop sharing"
|
||||
expect(page).to_not have_content "account is connected"
|
||||
expect(page).to_not have_link "Manage listing"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user