Rename Locales and Templates folders to be more consistent
This commit is contained in:
23
app/Template/project_tasks.php
Normal file
23
app/Template/project_tasks.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<section id="main">
|
||||
<div class="page-header">
|
||||
<h2><?= t('Completed tasks for "%s"', $project['name']) ?><span id="page-counter"> (<?= $nb_tasks ?>)</span></h2>
|
||||
<ul>
|
||||
<li><a href="?controller=board&action=show&project_id=<?= $project['id'] ?>"><?= t('Back to the board') ?></a></li>
|
||||
<li><a href="?controller=project&action=search&project_id=<?= $project['id'] ?>"><?= t('Search') ?></a></li>
|
||||
<li><a href="?controller=project&action=activity&project_id=<?= $project['id'] ?>"><?= t('Activity') ?></a></li>
|
||||
<li><a href="?controller=project&action=index"><?= t('List of projects') ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<section>
|
||||
<?php if (empty($tasks)): ?>
|
||||
<p class="alert"><?= t('No task') ?></p>
|
||||
<?php else: ?>
|
||||
<?= Helper\template('task_table', array(
|
||||
'tasks' => $tasks,
|
||||
'categories' => $categories,
|
||||
'columns' => $columns,
|
||||
'pagination' => $pagination,
|
||||
)) ?>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
</section>
|
||||
Reference in New Issue
Block a user