summaryrefslogtreecommitdiff
path: root/app/Templates/project_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/project_index.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Templates/project_index.php')
-rw-r--r--app/Templates/project_index.php49
1 files changed, 0 insertions, 49 deletions
diff --git a/app/Templates/project_index.php b/app/Templates/project_index.php
deleted file mode 100644
index b575e958..00000000
--- a/app/Templates/project_index.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<section id="main">
- <div class="page-header">
- <h2><?= t('Projects') ?><span id="page-counter"> (<?= $nb_projects ?>)</span></h2>
- <ul>
- <?php if (Helper\is_admin()): ?>
- <li><?= Helper\a(t('New project'), 'project', 'create') ?></li>
- <?php endif ?>
- <li><?= Helper\a(t('New private project'), 'project', 'create', array('private' => 1)) ?></li>
- </ul>
- </div>
- <section>
- <?php if (empty($active_projects) && empty($inactive_projects)): ?>
- <p class="alert"><?= t('No project') ?></p>
- <?php else: ?>
-
- <?php if (! empty($active_projects)): ?>
- <h3><?= t('Active projects') ?></h3>
- <ul class="project-listing">
- <?php foreach ($active_projects as $project): ?>
- <li>
- <?php if ($project['is_public']): ?>
- <i class="fa fa-share-alt fa-fw"></i>
- <?php endif ?>
- <?php if ($project['is_private']): ?>
- <i class="fa fa-lock fa-fw"></i>
- <?php endif ?>
- <?= Helper\a(Helper\escape($project['name']), 'project', 'show', array('project_id' => $project['id'])) ?>
- </li>
- <?php endforeach ?>
- </ul>
- <?php endif ?>
-
- <?php if (! empty($inactive_projects)): ?>
- <h3><?= t('Inactive projects') ?></h3>
- <ul class="project-listing">
- <?php foreach ($inactive_projects as $project): ?>
- <li>
- <?php if ($project['is_private']): ?>
- <i class="fa fa-lock"></i>
- <?php endif ?>
- <?= Helper\a(Helper\escape($project['name']), 'project', 'show', array('project_id' => $project['id'])) ?>
- </li>
- <?php endforeach ?>
- </ul>
- <?php endif ?>
-
- <?php endif ?>
- </section>
-</section> \ No newline at end of file