summaryrefslogtreecommitdiff
path: root/app/Template/project
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project')
-rw-r--r--app/Template/project/new.php7
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