From a4e01da27c08e43a67b2618ad1e71c1f8f86d5cd Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 19 Sep 2024 15:33:11 +0530 Subject: youtube fronend --- youtube/templates/comments_page.html | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 youtube/templates/comments_page.html (limited to 'youtube/templates/comments_page.html') diff --git a/youtube/templates/comments_page.html b/youtube/templates/comments_page.html new file mode 100644 index 0000000..3764b10 --- /dev/null +++ b/youtube/templates/comments_page.html @@ -0,0 +1,47 @@ +{% set page_title = ('Replies' if comments_info['is_replies'] else 'Comments page ' + comments_info['page_number']|string) %} +{% import "comments.html" as comments with context %} + +{% if not slim %} + {% extends "base.html" %} + {% block style %} + + {% endblock style %} +{% endif %} + +{% block main %} +
+ {% if not comments_info['is_replies'] %} + + {% endif %} + + {% if not comments_info['is_replies'] %} + + {% endif %} + +
+ {% for comment in comments_info['comments'] %} + {{ comments.render_comment(comment, comments_info['include_avatars'], slim) }} + {% endfor %} +
+ {% if 'more_comments_url' is in comments_info %} + More comments + {% endif %} +
+ + {% if settings.use_comments_js %} + + + {% endif %} +{% endblock main %} -- cgit v1.2.3-59-g8ed1b