summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Controller/Project.php1
-rw-r--r--app/Locale/da_DK/translations.php1
-rw-r--r--app/Locale/de_DE/translations.php1
-rw-r--r--app/Locale/es_ES/translations.php1
-rw-r--r--app/Locale/fi_FI/translations.php1
-rw-r--r--app/Locale/fr_FR/translations.php1
-rw-r--r--app/Locale/hu_HU/translations.php1
-rw-r--r--app/Locale/it_IT/translations.php1
-rw-r--r--app/Locale/ja_JP/translations.php1
-rw-r--r--app/Locale/nl_NL/translations.php1
-rw-r--r--app/Locale/pl_PL/translations.php1
-rw-r--r--app/Locale/pt_BR/translations.php1
-rw-r--r--app/Locale/ru_RU/translations.php1
-rw-r--r--app/Locale/sr_Latn_RS/translations.php1
-rw-r--r--app/Locale/sv_SE/translations.php1
-rw-r--r--app/Locale/th_TH/translations.php1
-rw-r--r--app/Locale/tr_TR/translations.php1
-rw-r--r--app/Locale/zh_CN/translations.php1
-rw-r--r--app/Template/project/new.php7
19 files changed, 23 insertions, 2 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index 52c2b870..63c20cc4 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -513,6 +513,7 @@ class Project extends Base
'board_selector' => $this->projectPermission->getAllowedProjects($this->userSession->getId()),
'values' => empty($values) ? array('is_private' => $is_private) : $values,
'errors' => $errors,
+ 'is_private' => $is_private,
'title' => $is_private ? t('New private project') : t('New project'),
)));
}
diff --git a/app/Locale/da_DK/translations.php b/app/Locale/da_DK/translations.php
index 4e174ac6..535d77b8 100644
--- a/app/Locale/da_DK/translations.php
+++ b/app/Locale/da_DK/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/de_DE/translations.php b/app/Locale/de_DE/translations.php
index 787974dd..b56469de 100644
--- a/app/Locale/de_DE/translations.php
+++ b/app/Locale/de_DE/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/es_ES/translations.php b/app/Locale/es_ES/translations.php
index 68bd73b6..2c215390 100644
--- a/app/Locale/es_ES/translations.php
+++ b/app/Locale/es_ES/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/fi_FI/translations.php b/app/Locale/fi_FI/translations.php
index 2bb28719..2d1edbc7 100644
--- a/app/Locale/fi_FI/translations.php
+++ b/app/Locale/fi_FI/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/fr_FR/translations.php b/app/Locale/fr_FR/translations.php
index 1f772233..f5c97759 100644
--- a/app/Locale/fr_FR/translations.php
+++ b/app/Locale/fr_FR/translations.php
@@ -923,4 +923,5 @@ return array(
'Two factor authentication disabled' => 'Authentification à deux facteurs désactivé',
'Two factor authentication enabled' => 'Authentification à deux facteurs activée',
'Unable to update this user.' => 'Impossible de mettre à jour cet utilisateur.',
+ 'There is no user management for private projects.' => 'Il n\'y a pas de gestion d\'utilisateurs pour les projets privés.',
);
diff --git a/app/Locale/hu_HU/translations.php b/app/Locale/hu_HU/translations.php
index 9831aa8a..3d8302c5 100644
--- a/app/Locale/hu_HU/translations.php
+++ b/app/Locale/hu_HU/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/it_IT/translations.php b/app/Locale/it_IT/translations.php
index 4674ddc4..09ae351d 100644
--- a/app/Locale/it_IT/translations.php
+++ b/app/Locale/it_IT/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/ja_JP/translations.php b/app/Locale/ja_JP/translations.php
index f4ea4d5f..22dd98ff 100644
--- a/app/Locale/ja_JP/translations.php
+++ b/app/Locale/ja_JP/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/nl_NL/translations.php b/app/Locale/nl_NL/translations.php
index 5d1f0695..43ed7e35 100644
--- a/app/Locale/nl_NL/translations.php
+++ b/app/Locale/nl_NL/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/pl_PL/translations.php b/app/Locale/pl_PL/translations.php
index 8e0d8f58..9e3fe96c 100644
--- a/app/Locale/pl_PL/translations.php
+++ b/app/Locale/pl_PL/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/pt_BR/translations.php b/app/Locale/pt_BR/translations.php
index 61bd0d62..d16916df 100644
--- a/app/Locale/pt_BR/translations.php
+++ b/app/Locale/pt_BR/translations.php
@@ -921,4 +921,5 @@ return array(
'Two factor authentication disabled' => 'Autenticação à fator duplo desativado',
'Two factor authentication enabled' => 'Autenticação à fator duplo activado',
'Unable to update this user.' => 'Impossível de atualizar esse usuário.',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/ru_RU/translations.php b/app/Locale/ru_RU/translations.php
index 8bb5076c..2ea22e5a 100644
--- a/app/Locale/ru_RU/translations.php
+++ b/app/Locale/ru_RU/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/sr_Latn_RS/translations.php b/app/Locale/sr_Latn_RS/translations.php
index 9b0e56be..fea7f10e 100644
--- a/app/Locale/sr_Latn_RS/translations.php
+++ b/app/Locale/sr_Latn_RS/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/sv_SE/translations.php b/app/Locale/sv_SE/translations.php
index f144e9ad..b4056321 100644
--- a/app/Locale/sv_SE/translations.php
+++ b/app/Locale/sv_SE/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/th_TH/translations.php b/app/Locale/th_TH/translations.php
index e6642a3d..0c5a06dd 100644
--- a/app/Locale/th_TH/translations.php
+++ b/app/Locale/th_TH/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/tr_TR/translations.php b/app/Locale/tr_TR/translations.php
index a4327351..f3249ae2 100644
--- a/app/Locale/tr_TR/translations.php
+++ b/app/Locale/tr_TR/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php
index c9350c8b..1b2a5ef4 100644
--- a/app/Locale/zh_CN/translations.php
+++ b/app/Locale/zh_CN/translations.php
@@ -921,4 +921,5 @@ return array(
// 'Two factor authentication disabled' => '',
// 'Two factor authentication enabled' => '',
// 'Unable to update this user.' => '',
+ // 'There is no user management for private projects.' => '',
);
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