diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-30 18:39:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-30 18:39:47 -0400 |
commit | 9cdb72681e69620a1f5ac1a2c0532a414641ad44 (patch) | |
tree | cb1468666b52f3270817d6c9ba0d692d433f320c /app/Template/project/new.php | |
parent | 3704fd243a612d3588a9c8965ec130296d6ecbe0 (diff) |
Add help message for private projects
Diffstat (limited to 'app/Template/project/new.php')
-rw-r--r-- | app/Template/project/new.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Template/project/new.php b/app/Template/project/new.php index 25b70ac2..8e4ccfec 100644 --- a/app/Template/project/new.php +++ b/app/Template/project/new.php @@ -4,7 +4,6 @@ <li><i class="fa fa-folder fa-fw"></i><?= $this->url->link(t('All projects'), 'project', 'index') ?></li> </ul> </div> - <section> <form method="post" action="<?= $this->url->href('project', 'save') ?>" autocomplete="off"> <?= $this->form->csrf() ?> @@ -17,5 +16,9 @@ <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'index') ?> </div> </form> - </section> + <?php if (isset($is_private) && $is_private): ?> + <div class="alert alert-info"> + <p><?= t('There is no user management for private projects.') ?></p> + </div> + <?php endif ?> </section>
\ No newline at end of file |