summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorMatteo Mazza <matteom.mazza@gmail.com>2018-08-23 06:00:01 +0200
committerFrédéric Guillot <fred@kanboard.net>2018-08-22 21:00:01 -0700
commitf28d7a15b96e25e38a3e4bcfb95dbd804158e339 (patch)
tree5c8474e36d9a28b5ba4d8860eea5c4ae6fdc9d8c /app/Template
parente5904ad2ed6b5402ebced2b37e5139847c02af10 (diff)
Add custom roles project duplication
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/project_creation/create.php1
-rw-r--r--app/Template/project_view/duplicate.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php
index 73fd4d7b..430a4bac 100644
--- a/app/Template/project_creation/create.php
+++ b/app/Template/project_creation/create.php
@@ -20,6 +20,7 @@
<?php if (! $is_private): ?>
<?= $this->form->checkbox('projectPermissionModel', t('Permissions'), 1, true) ?>
+ <?= $this->form->checkbox('projectRoleModel', t('Custom roles'), 1, true) ?>
<?php endif ?>
<?= $this->form->checkbox('categoryModel', t('Categories'), 1, true) ?>
diff --git a/app/Template/project_view/duplicate.php b/app/Template/project_view/duplicate.php
index d24a52a0..e2f3677c 100644
--- a/app/Template/project_view/duplicate.php
+++ b/app/Template/project_view/duplicate.php
@@ -12,6 +12,7 @@
<?php if ($project['is_private'] == 0): ?>
<?= $this->form->checkbox('projectPermissionModel', t('Permissions'), 1, true) ?>
+ <?= $this->form->checkbox('projectRoleModel', t('Custom roles'), 1, true) ?>
<?php endif ?>
<?= $this->form->checkbox('categoryModel', t('Categories'), 1, true) ?>