diff --git a/civicfix/core/templates/core/index.html b/civicfix/core/templates/core/index.html index 5ca04de..d60231d 100644 --- a/civicfix/core/templates/core/index.html +++ b/civicfix/core/templates/core/index.html @@ -7,7 +7,11 @@

Report. Resolve. Rejoice.

Your voice matters in making our community better. Report local issues and track their resolution in real-time.

- Report an Issue + {% if user.is_authenticated %} + Report an Issue + {% else %} + Report an Issue + {% endif %} Learn More
@@ -17,19 +21,19 @@
-

403+

+

{{ total_issues|default:"0" }}+

Issues Reported

-

403+

+

Soon

Issues Resolved

-

403+

+

{{ active_users|default:"0" }}+

Active Users

-

403+

+

Soon

Municipal Departments

@@ -121,60 +125,48 @@

Recently Reported Issues

- View All Issues + {% if user.is_authenticated %} + View All Issues + {% else %} + View All Issues + {% endif %}
+ {% for issue in recent_issues %}
- Pothole + {% if issue.photo %} + {{ issue.title }} + {% else %} + No image + {% endif %}
- Roads -
Large pothole on Main Street
-

A dangerous pothole near the intersection causing damage to vehicles.

+ + {{ issue.category.name|default:"General" }} + +
{{ issue.title|truncatewords:5 }}
+

{{ issue.description|truncatewords:15 }}

- 0.3 miles away - 24 votes + {{ issue.location|truncatewords:2 }} + {{ issue.votes.count|default:"0" }}
-
-
- Garbage -
- Sanitation -
Overflowing garbage bins
-

Trash bins at the park haven't been emptied in over a week.

-
- 0.7 miles away - 42 votes -
-
- -
-
-
-
- Streetlight -
- Electricity -
Broken streetlight on Oak Ave
-

Dark intersection creating safety concerns for pedestrians.

-
- 1.2 miles away - 18 votes -
-
- -
+ {% empty %} +
+ +

No issues reported yet

+

Be the first to report an issue in your community!

+ Get Started
+ {% endfor %}
@@ -182,8 +174,12 @@

Ready to make a difference in your community?

-

Join thousands of citizens who are actively improving their neighborhoods.

- Get Started Now +

Join {{ active_users|default:"thousands of" }} citizens who are actively improving their neighborhoods.

+ {% if user.is_authenticated %} + Report an Issue + {% else %} + Get Started Now + {% endif %}
{% endblock %} \ No newline at end of file