Added a button to quickly create multiple tasks without having to close/reopen the dialog (closes #1776)

This commit is contained in:
Bernd Bestel
2022-02-06 18:35:19 +01:00
parent e6a6d7ae42
commit 9eb46df517
4 changed files with 33 additions and 7 deletions

View File

@@ -104,9 +104,12 @@
'entity' => 'tasks'
))
<button id="save-task-button"
class="btn btn-success">{{ $__t('Save') }}</button>
@if($mode == 'edit')
<button class="btn btn-success save-task-button">{{ $__t('Save') }}</button>
@else
<button class="btn btn-success save-task-button">{{ $__t('Save & close') }}</button>
<button class="btn btn-primary save-task-button add-another">{{ $__t('Save & add another task') }}</button>
@endif
</form>
</div>
</div>