diff options
| -rw-r--r-- | assets/css/lighttheme.css | 2 | ||||
| -rw-r--r-- | src/invidious/comments.cr | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/assets/css/lighttheme.css b/assets/css/lighttheme.css index 34bb9fc1..919d73f3 100644 --- a/assets/css/lighttheme.css +++ b/assets/css/lighttheme.css @@ -4,6 +4,6 @@ a:active { } a { - color: #303030; + color: #0093ff; text-decoration: none; } diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 87065b5f..3b9dd8eb 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -329,7 +329,9 @@ def template_youtube_comments(comments, locale) <a href="#{child["authorUrl"]}">#{child["author"]}</a> </b> <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"])} </p> |
