Add warning
This commit is contained in:
Родитель
ab4970b0c2
Коммит
6a7e1c067c
4
app.js
4
app.js
|
@ -3,6 +3,8 @@
|
|||
'use_strict';
|
||||
|
||||
return {
|
||||
SETUP_INFO: 'https://support.zendesk.com/',
|
||||
|
||||
storage: {},
|
||||
|
||||
requests: {
|
||||
|
@ -247,7 +249,7 @@
|
|||
});
|
||||
|
||||
if (!valid) {
|
||||
|
||||
this.$('.app-container').prepend(this.renderTemplate('setup_info', { link: this.SETUP_INFO }));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,6 +185,16 @@
|
|||
}
|
||||
},
|
||||
"errors": {
|
||||
"setup": {
|
||||
"question": {
|
||||
"value": "Did you follow the installation instructions for this app and configure both required ticket fields to appear on every ticket form?",
|
||||
"title": "A question that gives the user a hint about what could be wrong"
|
||||
},
|
||||
"solution": {
|
||||
"value": "If not, please see <a href=\"{{url}}\">these instructions</a> and go to your ticket forms management page to finalize the set-up.",
|
||||
"title": "A suggestion about how to setup the app correctly"
|
||||
}
|
||||
},
|
||||
"save_hook": {
|
||||
"value": "You need to submit your time on this ticket.",
|
||||
"title": "Error message when the agent forgot to submit the time on this ticket"
|
||||
|
|
Загрузка…
Ссылка в новой задаче