From 5d8b002b48da791b090314a2df3e500734b5b62f Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Mon, 18 May 2020 20:51:47 +0530 Subject: Renamed model WorkshopComments to Comments and added hidden tag to the non-public comments --- workshop_app/templates/workshop_app/workshop_details.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'workshop_app/templates') diff --git a/workshop_app/templates/workshop_app/workshop_details.html b/workshop_app/templates/workshop_app/workshop_details.html index 3ca5a50..388b204 100644 --- a/workshop_app/templates/workshop_app/workshop_details.html +++ b/workshop_app/templates/workshop_app/workshop_details.html @@ -49,9 +49,12 @@
- -
{{ comment.created_date }}
+ {% if not comment.public %} +
Hidden
+ {% endif %} +
{{ comment.created_date }}
-- cgit