From 314ab37d2a8ac06094f796b06f5ca22cb3876917 Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@happy-dev.fr>
Date: Fri, 20 Sep 2019 17:20:23 +0200
Subject: [PATCH] Fix previous

---
 src/includes/public/resources/detail.pug | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/includes/public/resources/detail.pug b/src/includes/public/resources/detail.pug
index 4d847488..ad77c839 100644
--- a/src/includes/public/resources/detail.pug
+++ b/src/includes/public/resources/detail.pug
@@ -12,9 +12,10 @@ include ../../components/widgets
   sib-display(
     loader-id="detail-public-loader"
     bind-resources,
-    fields='name, steps, format, content(preview_image, tags),\
+    fields='name, steps, format,\
             submitter_info(submitter.account.picture, submitter.name, \
             submitter.mentor_profile.organisation.name, skills, uri, broken),\
+            content(preview_image, tags),\
             description, review.reviewer.account.picture, review.reviewer.name,\
             copyright, specifications(\
             header_specifications, author, country, language.name,\
@@ -39,7 +40,7 @@ include ../../components/widgets
     widget-language.name='cs-display-resource-property'
     widget-submitter.account.picture='cs-account-picture'
     widget-broken='cs-broken-action'
-    widget-preview_image='cs-profile-picture'
+    widget-preview_image='cs-preview-picture'
     widget-review.reviewer.account.picture='cs-account-picture'
     widget-review.reviewer.name='cs-resource-reviewer'
     class-review.reviewer.name="validator_ressource"
-- 
GitLab