From 1c56c49e45ea0ed0f2733739af0e9af6fe02d6fe Mon Sep 17 00:00:00 2001 From: Alice <alice.poggioli@hotmail.fr> Date: Thu, 10 Oct 2019 13:29:30 +0200 Subject: [PATCH] Move to 0.9 and change widget template. --- src/includes/components/widgets.pug | 14 +++++++------- src/includes/head.pug | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/includes/components/widgets.pug b/src/includes/components/widgets.pug index c14c33f2..cd0507c5 100644 --- a/src/includes/components/widgets.pug +++ b/src/includes/components/widgets.pug @@ -13,9 +13,9 @@ sib-widget(name='cs-display-property') sib-widget(name='cs-steps-resources-multiple') template div.resource_resume_header - p ${value.name} - p ${value.publication_year} - p ${value.description} + p ${await value.name} + p ${await value.publication_year} + p ${await value.description} sib-widget(name='cs-steps-header') template @@ -47,20 +47,20 @@ sib-widget(name='cs-display-checkbox') sib-widget(name='cs-display-related-property') template - p #[a(href="${value.name}")] ${value.name} + p #[a(href="${value.name}")] ${await value.name} sib-widget(name='cs-display-multiple-property') template - p #[b ${label}] ${value.name} + p #[b ${label}] ${await value.name} sib-widget(name='cs-display-step-property') template - p #[b ${label} ${value.order}:] ${value.name} + p #[b ${label} ${await value.order}:] ${await value.name} sib-widget(name='cs-resource-format-name') template div - p ${value.name} + p ${await value.name} sib-widget(name='cs-resource-reviewer') template diff --git a/src/includes/head.pug b/src/includes/head.pug index 907cc5fc..3f431dc8 100644 --- a/src/includes/head.pug +++ b/src/includes/head.pug @@ -2,7 +2,7 @@ head title CoopStarter meta(charset="utf-8") script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js") - script(type="module" src="https://unpkg.com/@startinblox/core@0.8") + script(type="module" src="https://unpkg.com/@startinblox/core") script(type="module" src="https://unpkg.com/@startinblox/router") script(type="module" src="https://unpkg.com/@startinblox/oidc") script(type="module" src="https://unpkg.com/@startinblox/component-conversation") -- GitLab