Skip to content
Snippets Groups Projects
Commit ba64205d authored by Alice Poggioli's avatar Alice Poggioli
Browse files

WIP: Mentor profil editable with new feature 'editable-xyz'

parent b7a333f0
No related branches found
No related tags found
2 merge requests!30Feature/mentor edit account,!29Feature/entrepreneur account
......@@ -24,15 +24,23 @@ div.block_list.flex
) Logout
div.profile_information.block_log.w_75
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-name='sib-display-div'
widget-mentor_profile.headline='sib-display-div'
widget-mentor_profile.city='sib-display-div'
widget-mentor_profile.country='sib-display-div'
widget-mentor_profile.registered_on='cs-display-property'
editable-account.picture
editable-name
editable-mentor_profile.headline
editable-mentor_profile.country
editable-mentor_profile.city
)
sib-display.bold(
......@@ -49,8 +57,11 @@ div.block_list.flex
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'
widget-mentor_profile.skills='sib-display-div'
widget-mentor_profile.biography='sib-display-div'
editable-mentor_profile.skills
editable-mentor_profile.biography
)
sib-display(
......@@ -60,10 +71,15 @@ div.block_list.flex
class-email="contact_profil"
label-mentor_profile.phone='Phone number:'
class-mentor_profile.phone="contact_profil"
widget-email='cs-display-resource-property'
widget-mentor_profile.phone='cs-display-resource-property'
widget-email='sib-display-mailto'
widget-mentor_profile.phone='sib-display-tel'
widget-mentor_profile.linkedin='cs-display-link'
widget-mentor_profile.twitter='cs-display-link'
label-mentor_profile.twitter='<i class="fab fa-twitter"></i>'
label-mentor_profile.linkedin='<i class="fab fa-linkedin-in"></i>'
editable-email
editable-mentor_profile.phone
editable-mentor_profile.linkedin
editable-mentor_profile.twitter
)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment