implemented button to delete job

This commit is contained in:
schrom01 2022-08-17 02:23:12 +02:00
parent 49ee181979
commit 7fe2f0cee5
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@
<td>{{ job.id }}</td> <td>{{ job.id }}</td>
<td>{{ job.zone.number|string + ": " + job.zone.name }}</td> <td>{{ job.zone.number|string + ": " + job.zone.name }}</td>
<td>{{ ((job.duration/60)|int)|string + " " + translater.getTranslation("minutes")}}</td> <td>{{ ((job.duration/60)|int)|string + " " + translater.getTranslation("minutes")}}</td>
<td><button onclick="executeAction('delete_job_by_id','{{ job.id }}', 0)">{{ translater.getTranslation("delete") }}</button></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>