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 },
|
||||
isSubmitHidden: { type: Boolean, default: false },
|
||||
overrideButtonText: String,
|
||||
overrideBackButtonText: String,
|
||||
},
|
||||
components: {
|
||||
textLink,
|
||||
|
|
@ -73,7 +74,10 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
backLink() {
|
||||
return this.getCmsContent(this.cmsWidgetName, "BackButtonText");
|
||||
return (
|
||||
this.overrideBackButtonText ||
|
||||
this.getCmsContent(this.cmsWidgetName, "BackButtonText")
|
||||
);
|
||||
},
|
||||
buttonText() {
|
||||
return this.customButtontext
|
||||
|
|
|
|||
|
|
@ -191,12 +191,15 @@
|
|||
v-model="morePolicyQuestions"
|
||||
groupName="MorePolicyQuestionsQuestion" />
|
||||
|
||||
<navbar
|
||||
cmsWidgetName="FunnelFooterWidget"
|
||||
ref="navbar"
|
||||
:isForwardActionDisabled="!meta.valid"
|
||||
@back-clicked="backButtonAction"
|
||||
@ForwardClicked="forwardButtonAction" />
|
||||
<div class="policy-info-navbar">
|
||||
<navbar
|
||||
cmsWidgetName="FunnelFooterWidget"
|
||||
ref="navbar"
|
||||
:isForwardActionDisabled="!meta.valid"
|
||||
overrideBackButtonText="Cancel verification"
|
||||
@back-clicked="backButtonAction"
|
||||
@ForwardClicked="forwardButtonAction" />
|
||||
</div>
|
||||
|
||||
<span
|
||||
v-if="displayDisclaimerText"
|
||||
|
|
@ -527,6 +530,14 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.policy-info-navbar {
|
||||
.navigation-link {
|
||||
font-family: inherit;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.cc-page-title {
|
||||
font-size: 20px !important;
|
||||
line-height: 1.325;
|
||||
|
|
|
|||
Loading…
Reference in a new issue