diff --git a/src/dependencies.pug b/src/dependencies.pug index 97124f4cff07df93377c5b2dbadd6f352cbd21d3..4d4055c856106675d27e3d893c922abb6ddce29e 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -13,7 +13,7 @@ if libLocal script(type="module" src="/lib/sib-job-board/sib-job-board.js") script(type="module" src="/lib/sib-conversation/sib-conversation.js") if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) - script(type="module" src="/lib/sib-directory/sib-directory.js") + script(type="module" src="/lib/sib-directory/index.js") if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards) script(type="module" src="/lib/sib-dashboard/sib-dashboard.js") else diff --git a/src/header.pug b/src/header.pug index 83e9cfb0564bf87782b2cd2e0d5543181aa861f0..85a74a93ac1c57a46301f166270f8373a9079d15 100644 --- a/src/header.pug +++ b/src/header.pug @@ -26,7 +26,7 @@ details#user-controls.notLoggedIn ul if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) li - sib-link(next='my-profile') My profile + sib-link(next='profile') Mon profil //-li sib-link(next='user-settings') Settings li diff --git a/src/index.pug b/src/index.pug index a6fd51f7e1b2614c89fc480ee11ee27e8449bec0..2e4027d785d9667636345e240a280cc8aa52656e 100644 --- a/src/index.pug +++ b/src/index.pug @@ -48,6 +48,9 @@ html(lang="en") #admin(hidden).with-sidebar include page-admin.pug + + #profile(hidden).no-sidebar + include page-profile.pug if analytics each provider in analytics diff --git a/src/menu-left.pug b/src/menu-left.pug index 5adfb81d458360dc7b6b9daac7601d3b843771b5..e1c08b395b053cb0b7c002ed04bf927f4c0e0bf0 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -114,6 +114,6 @@ nav#main__menu.jsLeftMenu div.divider sib-route(name='admin', hidden) + sib-route.menu(name='profile', hidden) //- div.divider //- sib-route.menu(hidden, name='my-profile', rdf-type='foaf:user', use-id='') - diff --git a/src/page-profile.pug b/src/page-profile.pug new file mode 100644 index 0000000000000000000000000000000000000000..6b51ad5dc5e533c1799fb880d51c0aa60db58500 --- /dev/null +++ b/src/page-profile.pug @@ -0,0 +1,5 @@ +sib-profile( + bind-user + upload-src=`${endpoints.upload || endpoints.post.upload}` + range-skills=`${endpoints.skills || endpoints.get.skills}` +)