diff options
author | Jesús <heckyel@hyperbola.info> | 2020-12-14 23:44:29 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-12-14 23:44:29 -0500 |
commit | 7a765dc664d20f966e4e52abac1f5372045e166c (patch) | |
tree | 641f4de8cc11fd9f3234558f957b7bb6b8faf45b /youtube/templates/comments.html | |
parent | 9d0be82e7425641a58a551fefce26385dee2f9d3 (diff) | |
download | yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.tar.lz yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.tar.xz yt-local-7a765dc664d20f966e4e52abac1f5372045e166c.zip |
Change general design theme
Diffstat (limited to 'youtube/templates/comments.html')
-rw-r--r-- | youtube/templates/comments.html | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html index ad5ab02..a128b44 100644 --- a/youtube/templates/comments.html +++ b/youtube/templates/comments.html @@ -5,23 +5,24 @@ <div class="comment"> <a class="author-avatar" href="{{ comment['author_url'] }}" title="{{ comment['author'] }}"> {% if include_avatar %} - <img class="author-avatar-img" src="{{ comment['author_avatar'] }}"> + <img class="author-avatar-img" alt="{{ comment['author'] }}" src="{{ comment['author_avatar'] }}"> {% endif %} </a> - <address> + <address class="author-name"> <a class="author" href="{{ comment['author_url'] }}" title="{{ comment['author'] }}">{{ comment['author'] }}</a> </address> <a class="permalink" href="{{ comment['permalink'] }}" title="permalink"> - <time datetime="">{{ comment['time_published'] }}</time> + <time datetime="2012-01-14T15:23:44+02:00">{{ comment['time_published'] }}</time> </a> + {% if timestamp_links %} - <span class="text">{{ common_elements.text_runs(comment['text'])|timestamps|safe }}</span> + <span class="comment-text">{{ common_elements.text_runs(comment['text'])|timestamps|safe }}</span> {% else %} - <span class="text">{{ common_elements.text_runs(comment['text']) }}</span> + <span class="comment-text">{{ common_elements.text_runs(comment['text']) }}</span> {% endif %} - <span class="likes">{{ comment['likes_text'] if comment['like_count'] else ''}}</span> - <div class="bottom-row"> + <span class="comment-likes">{{ comment['likes_text'] if comment['like_count'] else ''}}</span> + <div class="button-row"> {% if settings.use_comments_js and comment['reply_count'] %} <details class="replies" src="{{ comment['replies_url'] }}"> <summary>{{ comment['view_replies_text'] }}</summary> @@ -33,7 +34,6 @@ {% endif %} </div> </div> - </div> {% endmacro %} @@ -57,8 +57,5 @@ <a class="page-button more-comments" href="{{ comments_info['more_comments_url'] }}">More comments</a> {% endif %} {% endif %} -{% endmacro %} - - - +{% endmacro %} |