CASH-2468 use cancel link instead of back
CASH-2468 use cancel link instead of back
This commit is contained in:
parent
3f0af1c5f7
commit
d085ea900f
2 changed files with 22 additions and 7 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
||||||
buttonSize: { type: Boolean, default: false },
|
buttonSize: { type: Boolean, default: false },
|
||||||
isSubmitHidden: { type: Boolean, default: false },
|
isSubmitHidden: { type: Boolean, default: false },
|
||||||
overrideButtonText: String,
|
overrideButtonText: String,
|
||||||
|
overrideBackButtonText: String,
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
textLink,
|
textLink,
|
||||||
|
|
@ -73,7 +74,10 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
backLink() {
|
backLink() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "BackButtonText");
|
return (
|
||||||
|
this.overrideBackButtonText ||
|
||||||
|
this.getCmsContent(this.cmsWidgetName, "BackButtonText")
|
||||||
|
);
|
||||||
},
|
},
|
||||||
buttonText() {
|
buttonText() {
|
||||||
return this.customButtontext
|
return this.customButtontext
|
||||||
|
|
|
||||||
|
|
@ -191,12 +191,15 @@
|
||||||
v-model="morePolicyQuestions"
|
v-model="morePolicyQuestions"
|
||||||
groupName="MorePolicyQuestionsQuestion" />
|
groupName="MorePolicyQuestionsQuestion" />
|
||||||
|
|
||||||
<navbar
|
<div class="policy-info-navbar">
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
<navbar
|
||||||
ref="navbar"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
:isForwardActionDisabled="!meta.valid"
|
ref="navbar"
|
||||||
@back-clicked="backButtonAction"
|
:isForwardActionDisabled="!meta.valid"
|
||||||
@ForwardClicked="forwardButtonAction" />
|
overrideBackButtonText="Cancel verification"
|
||||||
|
@back-clicked="backButtonAction"
|
||||||
|
@ForwardClicked="forwardButtonAction" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
v-if="displayDisclaimerText"
|
v-if="displayDisclaimerText"
|
||||||
|
|
@ -527,6 +530,14 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.policy-info-navbar {
|
||||||
|
.navigation-link {
|
||||||
|
font-family: inherit;
|
||||||
|
font-weight: 600;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.cc-page-title {
|
.cc-page-title {
|
||||||
font-size: 20px !important;
|
font-size: 20px !important;
|
||||||
line-height: 1.325;
|
line-height: 1.325;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue