From 1e7ee17cc31bae914f83e1a3e7cbd6a89f9ade8b Mon Sep 17 00:00:00 2001 From: Gokuldevx Date: Fri, 22 Aug 2025 06:55:18 +0530 Subject: [PATCH] initial commit --- .../core/templates/core/issue_detail.html | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 civicfix/core/templates/core/issue_detail.html diff --git a/civicfix/core/templates/core/issue_detail.html b/civicfix/core/templates/core/issue_detail.html new file mode 100644 index 0000000..dca1bad --- /dev/null +++ b/civicfix/core/templates/core/issue_detail.html @@ -0,0 +1,69 @@ +{% extends "core/base.html" %} +{% load humanize %} +{% block content %} +
+ +
+ {% if issue.photo %} +
+ {{ issue.title }} +
+ {% endif %} +
+

{{ issue.title }}

+

{{ issue.description }}

+

{{ issue.location }}

+ {{ issue.get_status_display }} +
+
+ + +
+
+
Comments
+
+
+ {% for comment in comments %} +
+ {{ comment.user.username }} + {{ comment.created_at|naturaltime }} +

{{ comment.content }}

+ + +
+ {% for reply in comment.replies.all %} +
+ {{ reply.user.username }} + {{ reply.created_at|naturaltime }} +

{{ reply.content }}

+
+ {% endfor %} + + + {% if user.is_authenticated %} +
+ {% csrf_token %} + +
+ {% endif %} +
+
+ {% empty %} +

No comments yet. Be the first!

+ {% endfor %} + + + {% if user.is_authenticated %} +
+ {% csrf_token %} + + +
+ {% else %} +

Login to comment.

+ {% endif %} +
+
+
+{% endblock %}