Add help message for private projects
This commit is contained in:
parent
3704fd243a
commit
9cdb72681e
|
|
@ -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'),
|
||||
)));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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.' => '',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Reference in New Issue