diff --git a/civicfix/civicfix/__pycache__/settings.cpython-313.pyc b/civicfix/civicfix/__pycache__/settings.cpython-313.pyc index 188c8bd..8f43669 100644 Binary files a/civicfix/civicfix/__pycache__/settings.cpython-313.pyc and b/civicfix/civicfix/__pycache__/settings.cpython-313.pyc differ diff --git a/civicfix/civicfix/settings.py b/civicfix/civicfix/settings.py index 8ffce99..a2b6db2 100644 --- a/civicfix/civicfix/settings.py +++ b/civicfix/civicfix/settings.py @@ -23,6 +23,7 @@ INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', + 'django.contrib.humanize', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', diff --git a/civicfix/core/templates/core/index.html b/civicfix/core/templates/core/index.html index 42f7d5a..1000069 100644 --- a/civicfix/core/templates/core/index.html +++ b/civicfix/core/templates/core/index.html @@ -128,7 +128,7 @@ {% if user.is_authenticated %} View All Issues {% else %} - View All Issues + View All Issues {% endif %}
@@ -179,7 +179,7 @@

No issues reported yet

Be the first to report an issue in your community!

- Get Started + Get Started
{% endfor %} @@ -193,7 +193,7 @@ {% if user.is_authenticated %} Report an Issue {% else %} - Get Started Now + Get Started Now {% endif %} diff --git a/civicfix/core/templates/core/view_all_issues.html b/civicfix/core/templates/core/view_all_issues.html index 82189f1..135d97e 100644 --- a/civicfix/core/templates/core/view_all_issues.html +++ b/civicfix/core/templates/core/view_all_issues.html @@ -1,6 +1,6 @@ {% extends "core/base.html" %} - -{% block content %} +{% load humanize %} + {% block content %}
@@ -8,19 +8,24 @@
+ + + @@ -33,27 +38,37 @@
{% if issue.photo %} - {{ issue.title }} + {{ issue.title }} {% else %} - No image + No image {% endif %} +
- + {{ issue.category.name|default:"General" }}
{{ issue.title|truncatewords:6 }}
-

{{ issue.description|truncatewords:18 }}

+

+ {{ issue.description|truncatewords:18 }} +

- {{ issue.location|truncatewords:2 }} + + {{ issue.location|truncatewords:2 }} +
{% if user.is_authenticated %} - @@ -67,8 +82,10 @@
@@ -78,89 +95,135 @@

No issues reported yet

-

Be the first to report an issue in your community!

+

+ Be the first to report an issue in your community! +

Report an Issue
{% endfor %}
+ -{% endblock %} - -{% block extra_js %} - -{% endblock %} +{% endblock %} \ No newline at end of file