|
15 | 15 | <button title="Cancel processing" @click="cancelJob(p.row)" v-show="supports('stopJob') && isJobActive(p.row)"><i class="fas fa-stop-circle"></i></button>
|
16 | 16 | <button title="Download" @click="downloadResults(p.row)" v-show="supports('downloadResults') && hasResults(p.row)"><i class="fas fa-download"></i></button>
|
17 | 17 | <button title="View results" @click="viewResults(p.row, true)" v-show="supports('downloadResults') && hasResults(p.row)"><i class="fas fa-eye"></i></button>
|
18 |
| - <button title="Subscribe" @click="subscribeToJob(p.row)" v-show="supports('subscribe') && !jobSubscriptions.includes(p.row)"><i class="fas fa-bell"></i></button> |
19 |
| - <button title="Unsubscribe" @click="unsubscribeFromJob(p.row)" v-show="supports('unsubscribe') && jobSubscriptions.includes(p.row)"><i class="fas fa-bell-slash"></i></button> |
| 18 | + <!--<button title="Subscribe" @click="subscribeToJob(p.row)" v-show="supports('subscribe') && !jobSubscriptions.includes(p.row)"><i class="fas fa-bell"></i></button> |
| 19 | + <button title="Unsubscribe" @click="unsubscribeFromJob(p.row)" v-show="supports('unsubscribe') && jobSubscriptions.includes(p.row)"><i class="fas fa-bell-slash"></i></button>--> |
20 | 20 | </template>
|
21 | 21 | </DataTable>
|
22 | 22 | </template>
|
@@ -91,7 +91,7 @@ export default {
|
91 | 91 | }
|
92 | 92 | this.updateJobData(updatedJob);
|
93 | 93 | })
|
94 |
| - .catch(error => Utils.exception(this, error, "Sorry, could not load job information.")); |
| 94 | + .catch(error => Utils.exception(this, error, "Loading job failed")); |
95 | 95 | },
|
96 | 96 | showInEditor(job) {
|
97 | 97 | this.refreshJob(job, updatedJob => {
|
@@ -216,7 +216,7 @@ export default {
|
216 | 216 | .then(estimate => {
|
217 | 217 | EventBus.$emit('showModal', 'Job Estimate', estimate);
|
218 | 218 | })
|
219 |
| - .catch(error => Utils.exception(this, error, "Sorry, could not load job estimate.")); |
| 219 | + .catch(error => Utils.exception(this, error, "Loading estimate failed")); |
220 | 220 | },
|
221 | 221 | replaceProcessGraph(job) {
|
222 | 222 | EventBus.$emit('getProcessGraph', script => {
|
@@ -244,23 +244,23 @@ export default {
|
244 | 244 | Utils.ok(this, "Job successfully updated.");
|
245 | 245 | this.updateJobData(updatedJob);
|
246 | 246 | })
|
247 |
| - .catch(error => Utils.exception(this, error, "Sorry, could not update job."));; |
| 247 | + .catch(error => Utils.exception(this, error, "Updating job failed"));; |
248 | 248 | },
|
249 | 249 | queueJob(job) {
|
250 | 250 | job.startJob()
|
251 | 251 | .then(updatedJob => {
|
252 | 252 | Utils.ok(this, "Job successfully queued.");
|
253 | 253 | this.updateJobData(updatedJob);
|
254 | 254 | })
|
255 |
| - .catch(error => Utils.exception(this, error, "Sorry, could not queue job.")); |
| 255 | + .catch(error => Utils.exception(this, error, "Queueing job failed")); |
256 | 256 | },
|
257 | 257 | cancelJob(job) {
|
258 | 258 | job.stopJob()
|
259 | 259 | .then(updatedJob => {
|
260 | 260 | Utils.ok(this, "Job successfully canceled.");
|
261 | 261 | this.updateJobData(updatedJob);
|
262 | 262 | })
|
263 |
| - .catch(error => Utils.exception(this, error, "Sorry, could not cancel job.")); |
| 263 | + .catch(error => Utils.exception(this, error, "Canceling job failed")); |
264 | 264 | },
|
265 | 265 | viewResults(job) {
|
266 | 266 | job.listResults().then(info => {
|
|
0 commit comments