{% extends "base_authenticated.html" %} {% block title %}Projects{% endblock %} {% block content_inner %}

Projects

Manage and track all your projects.

New Project
{% for s in status_counts %}

{{ s.status|title }}

{{ s.count }}

{% endfor %}
{% for project in projects %}
{{ project.name|first|upper }}
{{ project.name }}
{{ project.get_status_display }} Client: {{ project.client.username }}
View {% if user.is_admin %} Edit {% endif %}
{% empty %}

No projects yet.

Create your first project
{% endfor %}
{% if user.is_admin %} {% for project in projects %} {% with project_id=project.pk|stringformat:"s" %} {% url 'project_delete' project.pk as delete_url %} {% include "components/delete_modal.html" with modal_id="delete-project-"|add:project_id title="Delete Project" message="Are you sure you want to delete this project? This action cannot be undone." delete_url=delete_url %} {% endwith %} {% endfor %} {% endif %} {% endblock %}