From f34b412cc9cb61813bc5984e5aaf9f7ea53d9ab5 Mon Sep 17 00:00:00 2001 From: Gokuldevx Date: Fri, 22 Aug 2025 05:11:12 +0530 Subject: [PATCH] initial commit --- .../core/templates/core/view_all_issues.html | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 civicfix/core/templates/core/view_all_issues.html diff --git a/civicfix/core/templates/core/view_all_issues.html b/civicfix/core/templates/core/view_all_issues.html new file mode 100644 index 0000000..82189f1 --- /dev/null +++ b/civicfix/core/templates/core/view_all_issues.html @@ -0,0 +1,166 @@ +{% extends "core/base.html" %} + +{% block content %} +
+ +
+

All Reported Issues

+
+ + + +
+
+ + +
+ {% for issue in issues %} +
+
+ {% if issue.photo %} + {{ issue.title }} + {% else %} + No image + {% endif %} +
+ + + {{ issue.category.name|default:"General" }} + + + +
{{ issue.title|truncatewords:6 }}
+

{{ issue.description|truncatewords:18 }}

+ + +
+ {{ issue.location|truncatewords:2 }} +
+ {% if user.is_authenticated %} + + {% else %} + + + {{ issue.vote_count }} + + {% endif %} +
+
+
+ +
+
+ {% empty %} +
+ +

No issues reported yet

+

Be the first to report an issue in your community!

+ Report an Issue +
+ {% endfor %} +
+
+ + + +{% endblock %} + +{% block extra_js %} + +{% endblock %}