Delete only the FOLLOWING tasks.
This commit is contained in:
parent
c52e482743
commit
990397a7f0
6 changed files with 19 additions and 20 deletions
|
|
@ -30,5 +30,5 @@
|
|||
= link_to t('ui.delete'), task_path(@task), :method => :delete, :confirm => "Die Aufgabe wirklich löschen?",
|
||||
class: 'btn btn-danger'
|
||||
- if @task.periodic?
|
||||
= link_to t('ui.delete_all'), periodic_task_group_path(@task.periodic_task_group), :method => :delete,
|
||||
:confirm => "Alle Aufgaben dieser wöchentlichen Aufgabe wirklich löschen?", class: 'btn btn-danger'
|
||||
= link_to 'Aufgabe und folgende löschen', task_path(@task, periodic: true), method: :delete,
|
||||
confirm: "Diese und alle folgenden wöchentlichen Aufgaben wirklich löschen?", class: 'btn btn-danger'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue