diff --git a/src/includes/head.pug b/src/includes/head.pug index 9556d6159fe747b30be8092f48b9c83a7c6dd2a2..4dde5b02fa9e6f2dd396635c529f0b512a30fe16 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") diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug index b87da1168bf4de788ebea5e5a45874272da026e6..ca54360b8e6af7b2c76788dc2024a882ad77fd1a 100644 --- a/src/includes/mentor/resources/detail.pug +++ b/src/includes/mentor/resources/detail.pug @@ -74,24 +74,8 @@ include ../../components/widgets action-broken='resource-report-broken-link-mentor' ) - //TODO: implement likes here - //- <div class="like"> - //- <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> - - sib-display( - bind-resources - fields="" - nested-field="likes" - counter-template="<p><i class='fas fa-thumbs-up'></i>${counter}</p>" - ) - - sib-display( - bind-resources - fields="" - nested-field="dislikes" - counter-template="<p><i class='fas fa-thumbs-down'></i>${counter}</p>" + sib-like( + bind-resources, ) sib-display( @@ -120,7 +104,5 @@ include ../../components/widgets ) -sib-like( - bind-resources, -) + \ No newline at end of file