mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-06 07:29:16 +00:00
Merge pull request #4998 from mkllnk/4277-signup-flow
Direct new enterprise users to their dashboard
This commit is contained in:
@@ -9,4 +9,4 @@
|
||||
%p= t(".login")
|
||||
.row
|
||||
.small-12.columns.text-center
|
||||
%a.button.primary{ type: "button", href: "/" }= "#{t(".action")} >"
|
||||
%a.button.primary{ type: "button", href: spree.admin_dashboard_path }= t(".action")
|
||||
|
||||
@@ -1989,7 +1989,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
headline: "Finished!"
|
||||
thanks: "Thanks for filling out the details for %{enterprise}."
|
||||
login: "You can change or update your enterprise at any stage by logging into Open Food Network and going to Admin."
|
||||
action: "Open Food Network home"
|
||||
action: "Go to Enterprise Dashboard"
|
||||
|
||||
back: "Back"
|
||||
continue: "Continue"
|
||||
|
||||
@@ -121,6 +121,9 @@ feature "Registration", js: true do
|
||||
expect(e.linkedin).to eq "LiNkEdIn"
|
||||
expect(e.twitter).to eq "@TwItTeR"
|
||||
expect(e.instagram).to eq "@InStAgRaM"
|
||||
|
||||
click_link "Go to Enterprise Dashboard"
|
||||
expect(page).to have_content "CHOOSE YOUR PACKAGE"
|
||||
end
|
||||
|
||||
context "when the user has no more remaining enterprises" do
|
||||
|
||||
Reference in New Issue
Block a user