feature: Show add project button only if user has the proper rights
This commit is contained in:
parent
477eb01424
commit
1bc66eec8c
@ -17,10 +17,11 @@
|
|||||||
div.content-box__info.flex
|
div.content-box__info.flex
|
||||||
div.admin-header.flex
|
div.admin-header.flex
|
||||||
h3 Projets
|
h3 Projets
|
||||||
solid-link(
|
solid-ac-checker(data-src=`${endpoints.projects || (endpoints.get && endpoints.get.projects)}`, permission='acl:Append')
|
||||||
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
|
solid-link(
|
||||||
next='admin-project-create'
|
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
|
||||||
) Créer un nouveau projet
|
next='admin-project-create'
|
||||||
|
) Créer un nouveau projet
|
||||||
|
|
||||||
.table-wrapper
|
.table-wrapper
|
||||||
.table
|
.table
|
||||||
@ -145,4 +146,4 @@
|
|||||||
div
|
div
|
||||||
|
|
||||||
#admin-project-create(hidden)
|
#admin-project-create(hidden)
|
||||||
include page-admin-projects-create.pug
|
include page-admin-projects-create.pug
|
||||||
|
Loading…
Reference in New Issue
Block a user