From acba6839a6082e3e3800a733f8baea7c843fc02e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 11 Oct 2014 21:11:10 -0400 Subject: Add 3 new fields for tasks: start date, time estimated and time spent --- app/Templates/file_show.php | 38 ++++++++++++++++++++++---------------- app/Templates/subtask_create.php | 2 +- app/Templates/subtask_edit.php | 4 ++-- app/Templates/subtask_show.php | 22 ---------------------- app/Templates/task_details.php | 15 +++++++++++++++ app/Templates/task_new.php | 3 +++ app/Templates/task_public.php | 2 ++ app/Templates/task_show.php | 15 ++++----------- app/Templates/task_time.php | 15 +++++++++++++++ app/Templates/task_timesheet.php | 13 +++++++++++++ 10 files changed, 77 insertions(+), 52 deletions(-) create mode 100644 app/Templates/task_time.php create mode 100644 app/Templates/task_timesheet.php (limited to 'app/Templates') diff --git a/app/Templates/file_show.php b/app/Templates/file_show.php index b570de2d..3832a0f5 100644 --- a/app/Templates/file_show.php +++ b/app/Templates/file_show.php @@ -1,17 +1,23 @@ - + +
+ + - \ No newline at end of file + + +
+ \ No newline at end of file diff --git a/app/Templates/subtask_create.php b/app/Templates/subtask_create.php index f1b27ab9..c8ee556b 100644 --- a/app/Templates/subtask_create.php +++ b/app/Templates/subtask_create.php @@ -14,7 +14,7 @@
- +
diff --git a/app/Templates/subtask_edit.php b/app/Templates/subtask_edit.php index fc65d3b3..91690d0a 100644 --- a/app/Templates/subtask_edit.php +++ b/app/Templates/subtask_edit.php @@ -18,10 +18,10 @@
- +
- +
diff --git a/app/Templates/subtask_show.php b/app/Templates/subtask_show.php index 112262bd..f1b0466f 100644 --- a/app/Templates/subtask_show.php +++ b/app/Templates/subtask_show.php @@ -5,14 +5,6 @@

- - @@ -64,11 +56,6 @@ -
@@ -81,14 +68,5 @@ -
-

- -
- diff --git a/app/Templates/task_details.php b/app/Templates/task_details.php index 8766beac..a4fdf6ce 100644 --- a/app/Templates/task_details.php +++ b/app/Templates/task_details.php @@ -22,11 +22,26 @@ + +
  • + +
  • +
  • + +
  • + +
  • + + +
  • + +
  • +
  • diff --git a/app/Templates/task_new.php b/app/Templates/task_new.php index 867bcbc9..51142165 100644 --- a/app/Templates/task_new.php +++ b/app/Templates/task_new.php @@ -38,6 +38,9 @@
    + +
    +
    diff --git a/app/Templates/task_public.php b/app/Templates/task_public.php index 4578b720..bc4608d1 100644 --- a/app/Templates/task_public.php +++ b/app/Templates/task_public.php @@ -2,6 +2,8 @@ $task, 'project' => $project)) ?> +

    $project['token'])) ?>

    + $task)) ?> $task, 'subtasks' => $subtasks, 'not_editable' => true)) ?> diff --git a/app/Templates/task_show.php b/app/Templates/task_show.php index ece4c57c..0964a8f0 100644 --- a/app/Templates/task_show.php +++ b/app/Templates/task_show.php @@ -1,14 +1,7 @@ - $task, 'project' => $project)) ?> - + $values, 'date_format' => $date_format, 'date_formats' => $date_formats)) ?> $task)) ?> - $task, 'subtasks' => $subtasks)) ?> - - -
    - $task, 'files' => $files)) ?> -
    - - - $task, 'comments' => $comments)) ?> + $timesheet)) ?> + $task, 'files' => $files)) ?> + $task, 'comments' => $comments)) ?> \ No newline at end of file diff --git a/app/Templates/task_time.php b/app/Templates/task_time.php new file mode 100644 index 00000000..11a76303 --- /dev/null +++ b/app/Templates/task_time.php @@ -0,0 +1,15 @@ +
    + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/app/Templates/task_timesheet.php b/app/Templates/task_timesheet.php new file mode 100644 index 00000000..cd093657 --- /dev/null +++ b/app/Templates/task_timesheet.php @@ -0,0 +1,13 @@ + 0 || $timesheet['time_spent'] > 0): ?> + + + + + + \ No newline at end of file -- cgit v1.2.3