From 62827e6cf470449c117624058fb36ad94804bcc0 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 5 May 2020 14:25:42 +0200 Subject: Time tracking related plugins --- plugins/TimeMachine/Template/subtask/edit.php | 28 +++++++++++++++++++++++++++ plugins/TimeMachine/Template/subtask/menu.php | 21 ++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 plugins/TimeMachine/Template/subtask/edit.php create mode 100644 plugins/TimeMachine/Template/subtask/menu.php (limited to 'plugins/TimeMachine/Template/subtask') diff --git a/plugins/TimeMachine/Template/subtask/edit.php b/plugins/TimeMachine/Template/subtask/edit.php new file mode 100644 index 00000000..7f20075c --- /dev/null +++ b/plugins/TimeMachine/Template/subtask/edit.php @@ -0,0 +1,28 @@ + + +
+ form->csrf() ?> + + subtask->renderTitleField($values, $errors, array('autofocus')) ?> + subtask->renderAssigneeField($users_list, $values, $errors) ?> + subtask->renderTimeEstimatedField($values, $errors) ?> + subtask->renderTimeSpentField($values, $errors) ?> +
+

Time Tracking details

+ $sttt) :?> + +
+ : + helper->form->datetime(t('Start Date'), 'start-'.$sttt['id'], $sttt, $errorsSttt) ?> + helper->form->datetime(t('End Date'), 'end-'.$sttt['id'], $sttt, $errorsSttt) ?> + / : +
+ +
+ + hook->render('template:subtask:form:edit', array('values' => $values, 'errors' => $errors)) ?> + + modal->submitButtons() ?> +
diff --git a/plugins/TimeMachine/Template/subtask/menu.php b/plugins/TimeMachine/Template/subtask/menu.php new file mode 100644 index 00000000..5f8a41f8 --- /dev/null +++ b/plugins/TimeMachine/Template/subtask/menu.php @@ -0,0 +1,21 @@ + + \ No newline at end of file -- cgit v1.2.3