Skip to content
Snippets Groups Projects
Commit 6e5c73b1 authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Picture widget simplification and extra_context fix

parent 55c89e1f
No related branches found
No related tags found
1 merge request!151Bug/#140
Pipeline #5510 failed
...@@ -190,15 +190,15 @@ sib-widget(name='cs-section_introduction') ...@@ -190,15 +190,15 @@ sib-widget(name='cs-section_introduction')
sib-widget(name='cs-account-picture') sib-widget(name='cs-account-picture')
template template
figure.avatar figure.avatar
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Profile picture") img(src="\${value || '/images/alien.jpg'}", alt="Profile picture")
sib-widget(name='cs-profile-picture') sib-widget(name='cs-profile-picture')
template template
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Profile picture") img(src="\${value || '/images/alien.jpg'}", alt="Profile picture")
sib-widget(name='cs-preview-picture') sib-widget(name='cs-preview-picture')
template template
img(name="${name}", src="\${value || '/images/alien.jpg'}", alt="Preview of the resource") img(src="\${value || '/images/alien.jpg'}", alt="Preview of the resource")
sib-widget(name="hidden-widget") sib-widget(name="hidden-widget")
template template
......
...@@ -25,6 +25,7 @@ head ...@@ -25,6 +25,7 @@ head
{ {
"entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile", "entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile",
"mentorProfile": "http://happy-dev.fr/owl/#mentor_profile", "mentorProfile": "http://happy-dev.fr/owl/#mentor_profile",
"account": "http://happy-dev.fr/owl/#account" "account": "http://happy-dev.fr/owl/#account",
"picture":"foaf:depiction"
} }
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