mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
fix job status notifications
This commit is contained in:
parent
32fa632961
commit
fe0fcb0e10
@ -95,7 +95,7 @@ nopaque.App = class App {
|
|||||||
.filter((operation) => {return subRegExp.test(operation.path);});
|
.filter((operation) => {return subRegExp.test(operation.path);});
|
||||||
for (let operation of subFilteredPatch) {
|
for (let operation of subFilteredPatch) {
|
||||||
let [match, userId, jobId] = operation.path.match(subRegExp);
|
let [match, userId, jobId] = operation.path.match(subRegExp);
|
||||||
this.flash(`[<a href="/jobs/${jobId}">${this.data.users[userId].jobs[jobId].title}</a>] New status: <span class="job-status-text" data-status="${operation.value}"></span>`, 'job');
|
this.flash(`[<a href="/jobs/${jobId}">${this.data.users[userId].jobs[jobId].title}</a>] New status: <span class="job-status-text" data-job-status="${operation.value}"></span>`, 'job');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply Patch
|
// Apply Patch
|
||||||
|
Loading…
Reference in New Issue
Block a user