diff --git a/frontend/src/composables/useTaskList.ts b/frontend/src/composables/useTaskList.ts index 4acefb19b..e1be96460 100644 --- a/frontend/src/composables/useTaskList.ts +++ b/frontend/src/composables/useTaskList.ts @@ -21,6 +21,7 @@ export interface SortBy { percent_done?: Order created?: Order updated?: Order + done_at?: Order, } // FIXME: merge with DEFAULT_PARAMS in filters.vue diff --git a/frontend/src/i18n/lang/en.json b/frontend/src/i18n/lang/en.json index 0398c89ea..a53fc9d55 100644 --- a/frontend/src/i18n/lang/en.json +++ b/frontend/src/i18n/lang/en.json @@ -716,7 +716,8 @@ "repeat": "Repeat", "startDate": "Start Date", "title": "Title", - "updated": "Updated" + "updated": "Updated", + "doneAt": "Done At" }, "subscription": { "subscribedTaskThroughParentProject": "You can't unsubscribe here because you are subscribed to this task through its project.", diff --git a/frontend/src/views/project/ProjectTable.vue b/frontend/src/views/project/ProjectTable.vue index 1be3a5a08..8ed043f8a 100644 --- a/frontend/src/views/project/ProjectTable.vue +++ b/frontend/src/views/project/ProjectTable.vue @@ -52,6 +52,9 @@ {{ $t('task.attributes.percentDone') }} + + {{ $t('task.attributes.doneAt') }} + {{ $t('task.attributes.created') }} @@ -144,6 +147,13 @@ @click="sort('percent_done')" /> + + {{ $t('task.attributes.doneAt') }} + + {{ $t('task.attributes.created') }} {{ t.percentDone * 100 }}% +