update: Rebased profile-feature
This commit is contained in:
parent
607de5dc13
commit
401df1a903
@ -22,7 +22,7 @@ if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers)
|
||||
|
||||
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3" defer)
|
||||
//- script(type="module" src="/lib/sib-directory/sib-directory.js" defer)
|
||||
//- script(type="module" src="/lib/sib-directory/index.js" defer)
|
||||
|
||||
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
|
||||
script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1" defer)
|
||||
|
@ -26,7 +26,7 @@ details#user-controls.notLoggedIn
|
||||
ul
|
||||
if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users))
|
||||
li
|
||||
sib-link(next='my-profile') Mon profil
|
||||
sib-link(next='profile') Mon profil
|
||||
//-li
|
||||
sib-link(next='user-settings') Settings
|
||||
li
|
||||
|
@ -52,6 +52,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
|
||||
if provider.type && provider.url && provider.url
|
||||
|
@ -125,6 +125,7 @@ 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='')
|
||||
|
||||
|
5
src/page-profile.pug
Normal file
5
src/page-profile.pug
Normal file
@ -0,0 +1,5 @@
|
||||
sib-profile(
|
||||
bind-user
|
||||
upload-src=`${endpoints.upload || endpoints.post.upload}`
|
||||
range-skills=`${endpoints.skills || endpoints.get.skills}`
|
||||
)
|
Loading…
Reference in New Issue
Block a user