1082359f2c
* Prevented watch functions from being called when task._edit is removed * Added start date support on the UI task summary * Fixed setting of monthly and calculations * Fixed linting issues * Added check for existence * Added existence check * Ensured correct start date is used on update * Hid repeat options from anything not a daily * Added missing locales * Moved repeatables out of advance options
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
div(ng-if='task._editing')
|
|
.task-options
|
|
.save-close
|
|
button(type='submit', ng-click='saveTask(task,false,true); $close()')=env.t('saveAndClose')
|
|
.save-close
|
|
button(ng-click='cancelTaskEdit(task); $close()')=env.t('cancel')
|
|
|
|
br
|
|
|
|
h3#task-edit-title
|
|
markdown(text="task._edit.text")
|
|
|
|
// Broken Challenge
|
|
.well(ng-if='task.challenge.broken')
|
|
div(ng-if='task.challenge.broken=="TASK_DELETED" || task.challenge.broken=="CHALLENGE_TASK_NOT_FOUND"')
|
|
p=env.t('brokenTask')
|
|
p
|
|
a(ng-click='unlink(task, "keep"); $close()')=env.t('keepIt')
|
|
|
|
|
a(ng-click="removeTask(task, obj); $close()")=env.t('removeIt')
|
|
div(ng-if='task.challenge.broken=="CHALLENGE_DELETED"')
|
|
p
|
|
|
|
|
=env.t('brokenChallenge')
|
|
p
|
|
a(ng-click='unlink(task, "keep-all"); $close()')=env.t('keepThem')
|
|
| |
|
|
a(ng-click='unlink(task, "remove-all"); $close()')=env.t('removeThem')
|
|
div(ng-if='task.challenge.broken=="CHALLENGE_CLOSED"')
|
|
p
|
|
!=env.t('challengeCompleted', {user: "{{task.challenge.winner}}"})
|
|
p
|
|
a(ng-click='unlink(task, "keep-all"); $close()')=env.t('keepThem')
|
|
| |
|
|
a(ng-click='unlink(task, "remove-all"); $close()')=env.t('removeThem')
|
|
//div(ng-if='task.challenge.broken=="UNSUBSCRIBED"')
|
|
p=env.t('unsubChallenge')
|
|
p
|
|
a(ng-click="unlink(task, 'keep-all'); $close()")=env.t('keepThem')
|
|
| |
|
|
a(ng-click="unlink(task, 'remove-all'); $close()")=env.t('removeThem')
|
|
|
|
include ./checklist
|
|
|
|
form
|
|
.col-md-6
|
|
include ./text_notes
|
|
|
|
include ./habits/plus_minus
|
|
|
|
//- include ./dailies/calendar
|
|
|
|
include ./rewards/pricing
|
|
|
|
include ./todos/due_date
|
|
|
|
include ./repeatables
|
|
|
|
.col-md-6
|
|
include ./tags
|
|
|
|
include ./advanced_options
|
|
|
|
.col-md-12
|
|
.save-close
|
|
button(type='submit', ng-click='saveTask(task,false,true); $close()')=env.t('saveAndClose')
|
|
.save-close
|
|
button(ng-click='cancelTaskEdit(task); $close()')=env.t('cancel')
|