Newer
Older
include ../components/widgets
div.container_min
h2.title_lead_avenir My Account
div.block_list
div.button__actions
div.resources__newresource
sib-link(next='mentor-resource-create')
div
div.button_base.ico_gauche.ico_plus Post a new Resource
div.dashboard__database
sib-link(next='mentor-database')
div.button_base.ico_gauche.ico_database Browse database
div.dashboard__database
sib-link(next='mentor-resource-list')
div.button_base.ico_gauche.ico_search Back to dashboard
div.dashboard__database
div#logout-button.button_base(
role='log out'
) Logout
div.profile_information
sib-display(
bind-user
fields='account.picture, name, mentor_profile.headline, mentor_profile.city, mentor_profile.country, registered_on'
widget-account.picture='cs-profile-picture'
widget-name='cs-display-property'
widget-mentor_profile.headline='cs-display-property'
widget-mentor_profile.city='cs-display-property'
widget-mentor_profile.country='cs-display-property'
widget-mentor_profile.registered_on='cs-display-property'
)
sib-display(
fields=""
nested-field="resources"
counter-template="<p>${counter} resource(s) uploaded here</p>"
bind-user
)
sib-display(
bind-user
fields='biography_label, mentor_profile.biography, skills_label, mentor_profile.skills'
widget-biography_label='cs-display-label'
widget-skills_label='cs-display-label'
label-skills_label='Skills:'
label-biography_label='Activities:'
widget-mentor_profile.skills='cs-display-property'
widget-mentor_profile.biography='cs-display-property'
)
sib-display(
bind-user
fields='email, mentor_profile.phone, mentor_profile.linkedin, mentor_profile.twitter'
label-email='Email:'
label-mentor_profile.phone='Phone number:'
widget-email='cs-display-resource-property'
widget-mentor_profile.phone='cs-display-resource-property'
widget-mentor_profile.linkedin='cs-display-link'
widget-mentor_profile.twitter='cs-display-link'
label-mentor_profile.twitter='Twitter'
label-mentor_profile.linkedin='Linkedin'
)