diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 17:46:19 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 17:46:19 -0500 |
commit | fc21d3873e3ac63222ad4065a593c715bef4c251 (patch) | |
tree | b1795031eda0774aeb1af9fb20606fe38611e0eb /app/Template/project_edit/general.php | |
parent | 1500ff92b2dc3d3932c8e06755bec23f9017e8a4 (diff) |
When creating a new project, have the possibility to select another project to duplicate
Diffstat (limited to 'app/Template/project_edit/general.php')
-rw-r--r-- | app/Template/project_edit/general.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project_edit/general.php b/app/Template/project_edit/general.php index 5caefa2d..28cbb66a 100644 --- a/app/Template/project_edit/general.php +++ b/app/Template/project_edit/general.php @@ -24,7 +24,7 @@ <?= $this->form->select('owner_id', $owners, $values, $errors) ?> </div> - <?php if ($this->user->hasProjectAccess('project', 'create', $project['id'])): ?> + <?php if ($this->user->hasProjectAccess('ProjectCreation', 'create', $project['id'])): ?> <hr> <?= $this->form->checkbox('is_private', t('Private project'), 1, $project['is_private'] == 1) ?> <p class="form-help"><?= t('Private projects do not have users and groups management.') ?></p> |