diff options
Diffstat (limited to 'app/Template/project')
-rw-r--r-- | app/Template/project/export_daily_summary.php | 26 | ||||
-rw-r--r-- | app/Template/project/export_tasks.php | 24 | ||||
-rw-r--r-- | app/Template/project/sidebar.php | 7 |
3 files changed, 5 insertions, 52 deletions
diff --git a/app/Template/project/export_daily_summary.php b/app/Template/project/export_daily_summary.php deleted file mode 100644 index 191d36b6..00000000 --- a/app/Template/project/export_daily_summary.php +++ /dev/null @@ -1,26 +0,0 @@ -<div class="page-header"> - <h2> - <?= t('Daily project summary export for "%s"', $project['name']) ?> - </h2> -</div> - -<p class="alert alert-info"><?= t('This export contains the number of tasks per column grouped per day.') ?></p> - -<form method="get" action="?" autocomplete="off"> - - <?= $this->formHidden('controller', $values) ?> - <?= $this->formHidden('action', $values) ?> - <?= $this->formHidden('project_id', $values) ?> - - <?= $this->formLabel(t('Start Date'), 'from') ?> - <?= $this->formText('from', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?><br/> - - <?= $this->formLabel(t('End Date'), 'to') ?> - <?= $this->formText('to', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?> - - <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> - - <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/> - </div> -</form>
\ No newline at end of file diff --git a/app/Template/project/export_tasks.php b/app/Template/project/export_tasks.php deleted file mode 100644 index e502085c..00000000 --- a/app/Template/project/export_tasks.php +++ /dev/null @@ -1,24 +0,0 @@ -<div class="page-header"> - <h2> - <?= t('Tasks exportation for "%s"', $project['name']) ?> - </h2> -</div> - -<form method="get" action="?" autocomplete="off"> - - <?= $this->formHidden('controller', $values) ?> - <?= $this->formHidden('action', $values) ?> - <?= $this->formHidden('project_id', $values) ?> - - <?= $this->formLabel(t('Start Date'), 'from') ?> - <?= $this->formText('from', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?><br/> - - <?= $this->formLabel(t('End Date'), 'to') ?> - <?= $this->formText('to', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?> - - <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> - - <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/> - </div> -</form>
\ No newline at end of file diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index f28f6b0d..f4809fde 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -54,10 +54,13 @@ <h2><?= t('Exports') ?></h2> <ul> <li> - <?= $this->a(t('Tasks'), 'project', 'exportTasks', array('project_id' => $project['id'])) ?> + <?= $this->a(t('Tasks'), 'export', 'tasks', array('project_id' => $project['id'])) ?> </li> <li> - <?= $this->a(t('Daily project summary'), 'project', 'exportDailyProjectSummary', array('project_id' => $project['id'])) ?> + <?= $this->a(t('Subtasks'), 'export', 'subtasks', array('project_id' => $project['id'])) ?> + </li> + <li> + <?= $this->a(t('Daily project summary'), 'export', 'summary', array('project_id' => $project['id'])) ?> </li> </ul> <?php endif ?> |