mirror of https://github.com/iv-org/invidious.git
Merge remote-tracking branch 'upstream/master' into contrib
This commit is contained in:
commit
072cc13f14
|
@ -357,10 +357,11 @@ def template_youtube_comments(comments, locale)
|
||||||
END_HTML
|
END_HTML
|
||||||
|
|
||||||
if child["creatorHeart"]?
|
if child["creatorHeart"]?
|
||||||
|
creator_thumbnail = "/ggpht#{URI.parse(child["creatorHeart"]["creatorThumbnail"].as_s).full_path}"
|
||||||
html += <<-END_HTML
|
html += <<-END_HTML
|
||||||
<span class="creator-heart-container" title="#{translate(locale, "`x` marked it with a ❤", child["creatorHeart"]["creatorName"].as_s)}">
|
<span class="creator-heart-container" title="#{translate(locale, "`x` marked it with a ❤", child["creatorHeart"]["creatorName"].as_s)}">
|
||||||
<div class="creator-heart">
|
<div class="creator-heart">
|
||||||
<img class="creator-heart-background-hearted" src="#{child["creatorHeart"]["creatorThumbnail"]}"></img>
|
<img class="creator-heart-background-hearted" src="#{creator_thumbnail}"></img>
|
||||||
<div class="creator-heart-small-hearted">
|
<div class="creator-heart-small-hearted">
|
||||||
<div class="creator-heart-small-container">🖤</div>
|
<div class="creator-heart-small-container">🖤</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue