summaryrefslogtreecommitdiff
path: root/app/Templates/app_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Templates/app_index.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Templates/app_index.php')
-rw-r--r--app/Templates/app_index.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/app/Templates/app_index.php b/app/Templates/app_index.php
deleted file mode 100644
index 91eecce4..00000000
--- a/app/Templates/app_index.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<section id="main">
- <div class="page-header">
- <h2><?= t('Dashboard') ?></h2>
- </div>
- <section id="dashboard">
- <div class="dashboard-left-column">
- <h2><?= t('My tasks') ?></h2>
- <?php if (empty($tasks)): ?>
- <p class="alert"><?= t('There is nothing assigned to you.') ?></p>
- <?php else: ?>
- <table>
- <tr>
- <th>&nbsp;</th>
- <th width="15%"><?= t('Project') ?></th>
- <th width="40%"><?= t('Title') ?></th>
- <th><?= t('Due date') ?></th>
- <th><?= t('Date created') ?></th>
- </tr>
- <?php foreach ($tasks as $task): ?>
- <tr>
- <td class="task-table task-<?= $task['color_id'] ?>">
- <?= Helper\a('#'.$task['id'], 'task', 'show', array('task_id' => $task['id'])) ?>
- </td>
- <td>
- <?= Helper\a(Helper\escape($task['project_name']), 'board', 'show', array('project_id' => $task['project_id'])) ?>
- </td>
- <td>
- <?= Helper\a(Helper\escape($task['title']), 'task', 'show', array('task_id' => $task['id'])) ?>
- </td>
- <td>
- <?= dt('%B %e, %Y', $task['date_due']) ?>
- </td>
- <td>
- <?= dt('%B %e, %Y', $task['date_creation']) ?>
- </td>
- </tr>
- <?php endforeach ?>
- </table>
- <?php endif ?>
- </div>
- <div class="dashboard-right-column">
- <h2><?= t('Activity stream') ?></h2>
- <?= Helper\template('project_events', array('events' => $events)) ?>
- </section>
-</section> \ No newline at end of file