Use logo from brand

This commit is contained in:
Daniel Siepmann 2020-11-04 15:32:45 +01:00
parent badcae5b8d
commit 785745b364
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
title: skillSet.name,
count: '{skillSet.skills -> f:count()}',
detailUrl: 'https://my.skilldisplay.eu/skillset/{skillSet.id}',
brandLogoUrl: skillSet.mediaPublicUrl,
brandLogoUrl: skillSet.brand.logoPublicUrl,
verificationUrl: '{sd:verification.url(skillSet: skillSet.id)}',
description: skillSet.description
})}

View file

@ -5,7 +5,7 @@
{f:render(partial: 'VerificationBox', arguments: {
title: skill.title,
detailUrl: 'https://my.skilldisplay.eu/skill/{skill.id}/0',
brandLogoUrl: skill.mediaPublicUrl,
brandLogoUrl: skill.brands.0.logoPublicUrl,
verificationUrl: '{sd:verification.url(skill: skill.id)}',
description: skill.description
})}