mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-25 17:49:49 +05:30
Change color to the links and add a couple of improvements in the comments
This commit is contained in:
parent
ff09a7255a
commit
55118a6768
@ -4,6 +4,6 @@ a:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #303030;
|
color: #0093ff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -329,7 +329,9 @@ def template_youtube_comments(comments, locale)
|
|||||||
<a href="#{child["authorUrl"]}">#{child["author"]}</a>
|
<a href="#{child["authorUrl"]}">#{child["author"]}</a>
|
||||||
</b>
|
</b>
|
||||||
<p style="white-space:pre-wrap">#{child["contentHtml"]}</p>
|
<p style="white-space:pre-wrap">#{child["contentHtml"]}</p>
|
||||||
#{translate(locale, "`x` ago", recode_date(Time.unix(child["published"].as_i64)))}
|
<span title="#{Time.unix(child["published"].as_i64).to_s(translate(locale,"%A %B %-d, %Y"))}">#{translate(locale, "`x` ago", recode_date(Time.unix(child["published"].as_i64)))}</span>
|
||||||
|
|
|
||||||
|
<a href="https://www.youtube.com/watch?v=%s&lc=#{child["commentId"]}" title="#{translate(locale, "Youtube permalink of the comment")}">[YT]</a>
|
||||||
|
|
|
|
||||||
<i class="icon ion-ios-thumbs-up"></i> #{number_with_separator(child["likeCount"])}
|
<i class="icon ion-ios-thumbs-up"></i> #{number_with_separator(child["likeCount"])}
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user