v3 client: support unlinking not found challenges tasks

This commit is contained in:
Matteo Pagliazzi
2016-05-15 13:00:42 +02:00
parent 438d2779b5
commit 23a9a3e0e4
+1 -1
View File
@@ -3,7 +3,7 @@ div(ng-if='task._editing')
// Broken Challenge
.well(ng-if='task.challenge.broken')
div(ng-if='task.challenge.broken=="TASK_DELETED"')
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")')=env.t('keepIt')