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

Ignore

parents 7b994dc8 9192f2b5
No related branches found
No related tags found
1 merge request!44Feature/public entrepreneur dashboard
......@@ -12,7 +12,7 @@ h2.title_create Complete your entrepreneur account
sib-form#entrepreneur_profile_creation.block_log.block_creat_count(
bind-user
fields="last_name, first_name, entrepreneur_profile.organisation, username"
fields="last_name, first_name, entrepreneur_profile.organisation, account.picture, username"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
......@@ -25,6 +25,10 @@ sib-form#entrepreneur_profile_creation.block_log.block_creat_count(
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
widget-username='sib-form-hidden'
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='sib-form-file'
class-account.picture='input_photo w_25'
submit-button="COMPLETE YOUR ACCOUNT"
next="entrepreneur-dashboard"
......
......@@ -4,7 +4,7 @@ h2.title_create Edit your account
sib-form#entrepreneur_profile_edition.block_log.block_creat_count(
bind-user
fields="info(last_name, first_name, username, email, entrepreneur_profile.organisation)"
fields="info(last_name, first_name, username, email, entrepreneur_profile.organisation, account.picture)"
range-entrepreneur_profile.organisation=`${endpoints.organisations}`
label-first_name="Surname"
......@@ -23,6 +23,10 @@ sib-form#entrepreneur_profile_edition.block_log.block_creat_count(
multiple-entrepreneur_profile.organisation='sib-multiple-select'
widget-entrepreneur_profile.organisation='sib-form-auto-completion'
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='sib-form-file'
class-account.picture='input_photo w_25'
submit-button="Save modifications"
next='entrepreneur-resource-list'
)
......
......@@ -21,7 +21,6 @@ section#home
dialog#mentor-resource-detail.no-sidebar
include resources/detail.pug
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard
dialog#mentor-resource-validate.no-sidebar.container
include resources/validate.pug
......
......@@ -60,7 +60,7 @@ sib-form#mentor_profile_creation.block_log.block_creat_count(
multiple-mentor_profile.fields='sib-multiple-select'
widget-mentor_profile.fields='sib-form-auto-completion'
upload-url-account.picture=`${sdn}/upload/`
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='sib-form-file'
class-account.picture='input_photo w_25'
class-headline='w_75'
......
......@@ -52,13 +52,18 @@ sib-form#mentor_profile_edition.block_log.block_creat_count(
multiple-mentor_profile.fields='sib-multiple-select'
widget-mentor_profile.fields='sib-form-auto-completion'
upload-url-account.picture=`${sdn}/upload/`
upload-url-account.picture=`${sdn}upload/`
widget-account.picture='sib-form-file'
class-account.picture='input_photo w_25'
class-headline='w_75'
submit-button="Save modifications"
<<<<<<< HEAD
next='mentor-dashboard'
)
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard
\ No newline at end of file
sib-link(class="backlink", next="mentor-resource-list") Back to the dashboard
=======
next='mentor-resource-list'
)
>>>>>>> 9192f2b5e98a215b5211905e68417f1a06b2baf6
......@@ -76,6 +76,10 @@ p.p_entete Thank you for enriching our database !
widget-skills='sib-form-textarea'
widget-publication_year='sib-form-number'
upload-url-preview_image=`${sdn}upload/`
widget-preview_image='sib-form-file'
class-preview_image='input_photo w_25'
submit-button='Send for validation ->'
next="resource-creation-confirmation"
)
\ No newline at end of file
include ../../components/widgets
.block_log.block_creat_count.no_shadow
sib-link(class="backlink", next="mentor-resource-list")
.like
p.backlink
i.fas.fa-times
sib-display(
bind-resources,
fields='name, steps, format, content(preview_image, tags),\
submitter_info(submitter.account.picture, submitter.name, \
submitter.mentor_profile.organisation.name, skills, uri, broken),\
description, review.status, review.reviewer.account.picture, review.reviewer.name, copyright, specifications(\
description, review.reviewer.account.picture, review.reviewer.name,\
copyright, specifications(\
header_specifications, author, country, language.name,\
publication_year, fields, sharing), \
edit',
publication_year, fields, sharing)',
widget-submitter.name='cs-display-resource-property',
class-name="title_form"
class-steps="steps"
widget-edit='sib-action',
widget-author='cs-display-resource-property',
widget-country='cs-display-resource-property',
widget-submitter.mentor_profile.organisation.name='cs-display-resource-property'
......@@ -31,7 +35,7 @@ include ../../components/widgets
widget-language.name='cs-display-resource-property'
widget-submitter.account.picture='cs-account-picture'
widget-broken='cs-broken-action'
widget-review.status='cs-resource-status'
widget-preview_image='cs-profile-picture'
widget-review.reviewer.account.picture='cs-account-picture'
widget-review.reviewer.name='cs-resource-reviewer'
class-review.reviewer.name="validator_ressource"
......@@ -60,12 +64,9 @@ include ../../components/widgets
label-uri='Link to resource'
name-uri='original-link'
label-country='Country:'
label-submitter.mentor_profile.organisation.name='Organisation:',
label-author='Author :',
label-submitter.name='Resource posted by:',
label-edit='Edit',
label-review=''
action-edit='mentor-resource-edit',
label-submitter.mentor_profile.organisation.name='Organisation:'
label-author='Author :'
label-submitter.name='Resource posted by:'
action-broken='resource-report-broken-link'
)
......@@ -74,9 +75,7 @@ include ../../components/widgets
<p class="backlink"><i class='far fa-thumbs-up'></i>18</p>
<p class="backlink"><i class='far fa-thumbs-down'></i>3</p>
</div>
<div class="like">
<p class="backlink"><i class="fas fa-times"></i></p>
</div>
sib-display(
bind-resources
fields=""
......@@ -103,6 +102,8 @@ include ../../components/widgets
id-suffix="conversations"
)
h2.title_lead_avenir Related resources
sib-display(
bind-resources,
nested-field="related"
......
......@@ -76,6 +76,10 @@ p.p_entete Thank you for enriching our database !
widget-skills='sib-form-textarea'
widget-publication_year='sib-form-number'
upload-url-preview_image=`${sdn}upload/`
widget-preview_image='sib-form-file'
class-preview_image='input_photo w_25'
submit-button='Send for validation ->'
next="resource-creation-confirmation"
)
\ 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