route for circle admin ok

This commit is contained in:
Gaëlle Morin 2019-10-24 18:23:46 +02:00 committed by Christophe Henry
parent 81d885730d
commit 9489fece13
4 changed files with 7 additions and 2 deletions

View File

@ -35,6 +35,9 @@ html(lang="en")
#circle(hidden).with-sidebar
include page-circle.pug
#circle-admin(hidden).no-sidebar
include page-circle-admin.pug
#messages(hidden).with-sidebar
include page-messages.pug

View File

@ -82,6 +82,7 @@ nav#main__menu
next='messages'
)
sib-route(hidden, name='circle-admin', use-id='')
//- div.divider
//- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='')

View File

@ -0,0 +1 @@
h1 Hello!

View File

@ -4,6 +4,6 @@ nav(role="user's functionalities menu")
//- sib-link(next='my-profile') My profile
//-li
sib-link(next='user-settings') Settings
//-li
sib-link(name='user-admin') Admin
li
sib-link(next='circle-admin') Admin
button(role='log out' onclick="document.querySelector('sib-auth').logout();") Log out