From 3b4969dcea0ca49692c28b82f76e715b5a0d6d0a Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 19 Dec 2022 14:12:48 +0700 Subject: [PATCH] distinct between none and false comments --- tubearchivist/home/templates/home/video.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tubearchivist/home/templates/home/video.html b/tubearchivist/home/templates/home/video.html index 904f8a34..a500a9c7 100644 --- a/tubearchivist/home/templates/home/video.html +++ b/tubearchivist/home/templates/home/video.html @@ -149,13 +149,17 @@ - {% if video.comment_count %} -
-

Comments: {{video.comment_count}}

-
-
+ {% if video.comment_count == 0 %} +
+ Video has no comments +
+ {% elif video.comment_count %} +
+

Comments: {{video.comment_count}}

+
+
{% endif %}