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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 10 deletions

View file

@ -5,7 +5,8 @@
"LIST": {
"404": "There are no inboxes attached to this account."
},
"CREATE_FLOW": [{
"CREATE_FLOW": [
{
"title": "Choose Channel",
"route": "settings_inbox_new",
"body": "Choose the provider you want to integrate with Chatwoot."
@ -193,6 +194,7 @@
"TITLE": "Your Inbox is ready!",
"MESSAGE": "You can now engage with your customers through your new Channel. Happy supporting ",
"BUTTON_TEXT": "Take me there",
"MORE_SETTINGS": "More settings",
"WEBSITE_SUCCESS": "You have successfully finished creating a website channel. Copy the code shown below and paste it on your website. Next time a customer use the live chat, the conversation will automatically appear on your inbox."
},
"REAUTH": "Reauthorize",

View file

@ -29,8 +29,18 @@
>
</woot-code>
</div>
<div class="footer">
<router-link
class="button success nice"
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 },
@ -39,6 +49,7 @@
{{ $t('INBOX_MGMT.FINISH.BUTTON_TEXT') }}
</router-link>
</div>
</div>
</empty-state>
</div>
</template>
@ -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>