summaryrefslogtreecommitdiff
path: root/app/Template/header.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 20:14:51 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 20:14:51 -0500
commit271543431e999032d6e91197633119309fa6c622 (patch)
tree93c84f80092b6b463dcb643ee6bd0302c18fdf47 /app/Template/header.php
parent0bc51620c731e7cfd10db5e064fc04693205b21c (diff)
Make project creation form a inline popup
Diffstat (limited to 'app/Template/header.php')
-rw-r--r--app/Template/header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/header.php b/app/Template/header.php
index 36db54d5..fd9ff24d 100644
--- a/app/Template/header.php
+++ b/app/Template/header.php
@@ -42,10 +42,10 @@
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-plus fa-fw"></i><i class="fa fa-caret-down"></i></a>
<ul>
<?php if ($this->user->hasAccess('ProjectCreation', 'create')): ?>
- <li><i class="fa fa-plus fa-fw"></i><?= $this->url->link(t('New project'), 'ProjectCreation', 'create') ?></li>
+ <li><i class="fa fa-plus fa-fw"></i><?= $this->url->link(t('New project'), 'ProjectCreation', 'create', array(), false, 'popover') ?></li>
<?php endif ?>
<li>
- <i class="fa fa-lock fa-fw"></i><?= $this->url->link(t('New private project'), 'ProjectCreation', 'createPrivate') ?>
+ <i class="fa fa-lock fa-fw"></i><?= $this->url->link(t('New private project'), 'ProjectCreation', 'createPrivate', array(), false, 'popover') ?>
</li>
</ul>
</div>