mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Add link into success tab
to go back to previous step and edit details once completed
This commit is contained in:
committed by
Matt-Yorkley
parent
66892ed51a
commit
c286189225
@@ -4,7 +4,7 @@
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
span {
|
||||
span, span > a {
|
||||
font-size: 1.3rem;
|
||||
@include headingFont;
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
background-color: $white;
|
||||
border-bottom: 5px solid $min-accessible-grey;
|
||||
|
||||
span {
|
||||
span, span > a {
|
||||
color: $min-accessible-grey;
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
&.selected {
|
||||
background-color: $ofn-brand;
|
||||
|
||||
span {
|
||||
span, span > a {
|
||||
color: $white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
%div.flex
|
||||
%div.columns.three.text-center.checkout-tab{"class": [("selected" if @checkout_step == "details"), ("success" unless @checkout_step == "details")]}
|
||||
%span
|
||||
= t("split_checkout.your_details")
|
||||
= link_to_if (@checkout_step != "details"), t("split_checkout.your_details"), main_app.checkout_step_path(:details), {} do
|
||||
= t("split_checkout.your_details")
|
||||
%div.columns.three.text-center.checkout-tab{"class": [("selected" if @checkout_step == "payment"), ("success" if @checkout_step == "summary")]}
|
||||
%span
|
||||
= t("split_checkout.payment_method")
|
||||
= link_to_if (@checkout_step != "payment"), t("split_checkout.payment_method"), main_app.checkout_step_path(:payment), {} do
|
||||
= t("split_checkout.payment_method")
|
||||
%div.columns.three.text-center.checkout-tab{"class": ("selected" if @checkout_step == "summary")}
|
||||
%span
|
||||
= t("split_checkout.order_summary")
|
||||
|
||||
Reference in New Issue
Block a user