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.admin-header.flex
|
||||
h3 Projets
|
||||
solid-link(
|
||||
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
|
||||
next='admin-project-create'
|
||||
) Créer un nouveau projet
|
||||
solid-ac-checker(data-src=`${endpoints.projects || (endpoints.get && endpoints.get.projects)}`, permission='acl:Append')
|
||||
solid-link(
|
||||
class='button text-bold text-uppercase reversed button-primary bordered with-icon icon-plus'
|
||||
next='admin-project-create'
|
||||
) Créer un nouveau projet
|
||||
|
||||
.table-wrapper
|
||||
.table
|
||||
@ -145,4 +146,4 @@
|
||||
div
|
||||
|
||||
#admin-project-create(hidden)
|
||||
include page-admin-projects-create.pug
|
||||
include page-admin-projects-create.pug
|
||||
|
Loading…
Reference in New Issue
Block a user