summaryrefslogtreecommitdiff
path: root/app/Templates/project_search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates/project_search.php')
-rw-r--r--app/Templates/project_search.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/app/Templates/project_search.php b/app/Templates/project_search.php
deleted file mode 100644
index 7d5d8795..00000000
--- a/app/Templates/project_search.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<section id="main">
- <div class="page-header">
- <h2>
- <?= t('Search in the project "%s"', $project['name']) ?>
- <?php if (! empty($nb_tasks)): ?>
- <span id="page-counter"> (<?= $nb_tasks ?>)</span>
- <?php endif ?>
- </h2>
- <ul>
- <li><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
- <li><?= Helper\a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?></li>
- <li><?= Helper\a(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?></li>
- <li><?= Helper\a(t('List of projects'), 'project', 'index') ?></li>
- </ul>
- </div>
- <section>
- <form method="get" action="?" autocomplete="off">
- <?= Helper\form_hidden('controller', $values) ?>
- <?= Helper\form_hidden('action', $values) ?>
- <?= Helper\form_hidden('project_id', $values) ?>
- <?= Helper\form_text('search', $values, array(), array('autofocus', 'required', 'placeholder="'.t('Search').'"')) ?>
- <input type="submit" value="<?= t('Search') ?>" class="btn btn-blue"/>
- </form>
-
- <?php if (empty($tasks) && ! empty($values['search'])): ?>
- <p class="alert"><?= t('Nothing found.') ?></p>
- <?php elseif (! empty($tasks)): ?>
- <?= Helper\template('task_table', array(
- 'tasks' => $tasks,
- 'categories' => $categories,
- 'columns' => $columns,
- 'pagination' => $pagination,
- )) ?>
- <?php endif ?>
-
- </section>
-</section> \ No newline at end of file