Enhancement: Adds a new button that redirect to inbox config page (#2066)

* Adds a new button that redirect to inbox config page

* Review fixes
This commit is contained in:
Sivin Varghese
2021-04-08 16:01:46 +05:30
committed by GitHub
parent 012502a2d1
commit 3e03b08ad0
2 changed files with 32 additions and 10 deletions

View File

@@ -29,15 +29,26 @@
>
</woot-code>
</div>
<router-link
class="button success nice"
:to="{
name: 'inbox_dashboard',
params: { inboxId: this.$route.params.inbox_id },
}"
>
{{ $t('INBOX_MGMT.FINISH.BUTTON_TEXT') }}
</router-link>
<div class="footer">
<router-link
class="button hollow primary settings-button"
:to="{
name: 'settings_inbox_show',
params: { inboxId: this.$route.params.inbox_id },
}"
>
{{ $t('INBOX_MGMT.FINISH.MORE_SETTINGS') }}
</router-link>
<router-link
class="button success"
:to="{
name: 'inbox_dashboard',
params: { inboxId: this.$route.params.inbox_id },
}"
>
{{ $t('INBOX_MGMT.FINISH.BUTTON_TEXT') }}
</router-link>
</div>
</div>
</empty-state>
</div>
@@ -90,4 +101,13 @@ export default {
margin: $space-normal auto;
max-width: 70%;
}
.footer {
display: flex;
justify-content: center;
}
.settings-button {
margin-right: var(--space-small);
}
</style>