route for circle admin ok
This commit is contained in:
parent
81d885730d
commit
9489fece13
@ -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
|
||||
|
||||
|
@ -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='')
|
||||
|
||||
|
1
src/page-circle-admin.pug
Normal file
1
src/page-circle-admin.pug
Normal file
@ -0,0 +1 @@
|
||||
h1 Hello!
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user