summaryrefslogtreecommitdiff
path: root/app/Template/budget/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-31 17:57:02 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-31 17:57:02 -0400
commit599b6624dde8cb1c1f6416ee0af530402089da4d (patch)
tree2cc995b09a4b2e67de276389fb28b0040d484296 /app/Template/budget/index.php
parent380aacd3f586089ae5c1e69841c0e0cb99478dcd (diff)
Improve project navigation
Diffstat (limited to 'app/Template/budget/index.php')
-rw-r--r--app/Template/budget/index.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/Template/budget/index.php b/app/Template/budget/index.php
index d9fefc67..4fe8ac69 100644
--- a/app/Template/budget/index.php
+++ b/app/Template/budget/index.php
@@ -2,11 +2,7 @@
<?= $this->asset->js('assets/js/vendor/dimple.v2.1.2.min.js') ?>
<div class="page-header">
- <h2><?= t('Budget') ?></h2>
- <ul>
- <li><?= $this->url->link(t('Budget lines'), 'budget', 'create', array('project_id' => $project['id'])) ?></li>
- <li><?= $this->url->link(t('Cost breakdown'), 'budget', 'breakdown', array('project_id' => $project['id'])) ?></li>
- </ul>
+ <h2><?= t('Budget overview') ?></h2>
</div>
<?php if (! empty($daily_budget)): ?>
@@ -32,4 +28,6 @@
</tr>
<?php endforeach ?>
</table>
+<?php else: ?>
+ <p class="alert"><?= t('There is not enough data to show something.') ?></p>
<?php endif ?>