Skip to content
Snippets Groups Projects
Merged Timothee P requested to merge redmine-issues/11732 into develop
1 file
+ 2
4
Compare changes
  • Side-by-side
  • Inline
+ 2
4
@@ -13,18 +13,16 @@
@@ -13,18 +13,16 @@
</h2>
</h2>
<h4 id="les_projets" class="ui horizontal divider header">PROJETS</h4>
<h4 id="les_projets" class="ui horizontal divider header">PROJETS</h4>
<!-- //todo : v-if can_create_project -->
<div class="flex">
<div class="flex">
<router-link
<router-link
v-if="user"
v-if="user && user.can_create_project"
:to="{ name: 'project_create', params: { action: 'create' } }"
:to="{ name: 'project_create', params: { action: 'create' } }"
class="ui green basic button"
class="ui green basic button"
>
>
<i class="plus icon"></i> Créer un nouveau projet
<i class="plus icon"></i> Créer un nouveau projet
</router-link>
</router-link>
<!-- //todo : v-if can_create_project -->
<router-link
<router-link
v-if="user"
v-if="user && user.can_create_project"
:to="{
:to="{
name: 'project_type_list',
name: 'project_type_list',
}"
}"
Loading