diff --git a/src/includes/components/widgets.pug b/src/includes/components/widgets.pug index c14c33f221127d8b3cc908c2566aadd4ae47a621..13a2168e1837bb6795f0a53f24b0d0f3694e566d 100644 --- a/src/includes/components/widgets.pug +++ b/src/includes/components/widgets.pug @@ -164,3 +164,6 @@ sib-widget(name="cs-form-file-custom" ) sib-form-file(upload-url=`${sdn}upload/` name="preview_image") +sib-widget(name="iframe-video-resource" ) + template + div ${value} \ No newline at end of file diff --git a/src/includes/entrepreneur/resources/detail.pug b/src/includes/entrepreneur/resources/detail.pug index dbb6ea52497ec51c93319f1752fcccdfcc212f92..f8d409719334908013e83284d017a0a6a0bf4fa3 100644 --- a/src/includes/entrepreneur/resources/detail.pug +++ b/src/includes/entrepreneur/resources/detail.pug @@ -15,7 +15,7 @@ include ../../components/widgets fields='name, steps, format.name, \ submitter_info(submitter.account.picture, submitter.name, \ submitter.mentor_profile.organisation.name, skills, uri, broken),\ - content(preview_image, tags),\ + content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ header_specifications, author, country.name, language.name,\ @@ -45,6 +45,8 @@ include ../../components/widgets widget-review.reviewer.name='cs-resource-reviewer' class-review.reviewer.name="validator_ressource" widget-header_specifications='cs-section_header' + widget-iframe_link='iframe-video-resource' + label-broken='Report broken link' label-sharing='Access:' diff --git a/src/includes/mentor/resources/create.pug b/src/includes/mentor/resources/create.pug index b45c0ea5c8e1aebf3ed4b36fcbe05ffbb6927798..aa22462e643f140d2587060d511aa593008df276 100644 --- a/src/includes/mentor/resources/create.pug +++ b/src/includes/mentor/resources/create.pug @@ -43,7 +43,7 @@ p.p_entete Thank you for enriching our database ! label-publication_year='Year of publication*' label-skills='Learning outcomes, skills*' label-description='Description' - label-iframe_link='For videos, report iframe link' + label-iframe_link='For videos, click on "share" and "integrate"' label-preview_image='Upload preview image' label-tags='Add tags' @@ -80,6 +80,8 @@ p.p_entete Thank you for enriching our database ! upload-url-preview_image=`${sdn}upload/` widget-preview_image='cs-form-file-custom' class-preview_image='input_photo w_25' + widget-iframe_link='sib-form-textarea' + submit-button='Send for validation ->' next="resource-creation-confirmation" diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug index cf20f6a78515dd973cbcb056b19221595ccf3042..bb9faa4cc3a0ceaa9fff2fe9bde5abe970703fbd 100644 --- a/src/includes/mentor/resources/detail.pug +++ b/src/includes/mentor/resources/detail.pug @@ -15,7 +15,7 @@ include ../../components/widgets fields='name, steps, format.name,\ submitter_info(submitter.account.picture, submitter.name, \ submitter.mentor_profile.organisation.name, skills, uri, broken),\ - content(preview_image, tags),\ + content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ header_specifications, author, country, language.name,\ @@ -53,6 +53,7 @@ include ../../components/widgets label-publication_year='Year of publication:' label-header_specifications='Resource specifications' label-format.name='' + widget-iframe_link='iframe-video-resource' widget-steps='cs-display-step-property' label-steps='' diff --git a/src/includes/public/resources/detail.pug b/src/includes/public/resources/detail.pug index 84d387e03b90f74ca5897bca30bcd5c221b4e81d..07774f79cf6cf083f8bf85db8f588e51246a4f24 100644 --- a/src/includes/public/resources/detail.pug +++ b/src/includes/public/resources/detail.pug @@ -16,7 +16,7 @@ include ../../components/widgets fields='name, steps, format.name,\ submitter_info(submitter.account.picture, submitter.name, \ submitter.mentor_profile.organisation.name, skills, uri, broken),\ - content(preview_image, tags),\ + content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ header_specifications, author, country.name, language.name,\ @@ -46,6 +46,7 @@ include ../../components/widgets widget-review.reviewer.name='cs-resource-reviewer' class-review.reviewer.name="validator_ressource" widget-header_specifications='cs-section_header' + widget-iframe_link='iframe-video-resource' label-broken='Report broken link' label-sharing='Access:'