From f5ff5f1c0759408c80759b448a83aced4aff807b Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@happy-dev.fr>
Date: Sat, 25 Apr 2020 23:57:11 +0200
Subject: [PATCH] Fixing used name in the detail from the mentor resources list

---
 src/includes/mentor/resources/detail.pug | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug
index 875da38f..3b41adca 100644
--- a/src/includes/mentor/resources/detail.pug
+++ b/src/includes/mentor/resources/detail.pug
@@ -7,14 +7,14 @@ sib-display#detail-mentor(
           content(preview_image, iframe_link),\
           description, review.reviewer.account.picture, review.reviewer,\
           copyright, specifications(\
-          header_specifications, author, country, language.name,\
+          header_specifications, author, country.name, language.name,\
           publication_year, fields, sharing)',
 
   widget-submitter='cs-display-mentor-link',
   class-name="title_form"
   class-steps="steps"
   widget-author='cs-display-resource-property',
-  widget-country='cs-display-resource-property',
+  widget-country.name='cs-display-resource-property',
   widget-submitter.mentorProfile.organisation.name='cs-display-resource-property'
   class-submitter="resource-author"
   class-broken="broken"
@@ -57,7 +57,7 @@ sib-display#detail-mentor(
   label-skills=`${data.WithThisResourceBeAbleTo}`
   label-uri=`${data.LinkToResource}`
   name-uri='original-link'
-  label-country=`${data.Country} : `
+  label-country.name=`${data.Country} : `
   label-submitter.mentorProfile.organisation.name=`${data.Organisation} : `
   label-author=`${data.Author} : `
   label-submitter=`${data.ResourcePostedBy}: `
-- 
GitLab