{% extends "base.html" %} {% block title %}Projects{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}

Projects

{{ page_obj.paginator.count }} total projects

{% if request.user.is_admin %} New Project {% endif %}
{% for c in columns %}{% endfor %} {% if per_page != 10 %}{% endif %} {% if search %} Clear {% endif %}
{% csrf_token %}
selected
{% if per_page != 10 %}{% endif %} {% for c in all_columns %} {% endfor %}
{% if "color" in columns %}{% endif %} {% if "name" in columns %}{% endif %} {% if "ticket_prefix" in columns %}{% endif %} {% if "progress" in columns %}{% endif %} {% if "start_date" in columns %}{% endif %} {% if "end_date" in columns %}{% endif %} {% if "remaining_days" in columns %}{% endif %} {% if "pinned" in columns %}{% endif %} {% if "members" in columns %}{% endif %} {% if "tickets" in columns %}{% endif %} {% if "created_at" in columns %}{% endif %} {% if "updated_at" in columns %}{% endif %} {% for p in projects %} {% if "color" in columns %} {% endif %} {% if "name" in columns %} {% endif %} {% if "ticket_prefix" in columns %} {% endif %} {% if "progress" in columns %} {% endif %} {% if "start_date" in columns %} {% endif %} {% if "end_date" in columns %} {% endif %} {% if "remaining_days" in columns %} {% endif %} {% if "pinned" in columns %} {% endif %} {% if "members" in columns %} {% endif %} {% if "tickets" in columns %} {% endif %} {% if "created_at" in columns %} {% endif %} {% if "updated_at" in columns %} {% endif %} {% empty %} {% endfor %}
Name {% if sort == 'name' %}{% endif %} PrefixProgress Start Date {% if sort == 'start_date' %}{% endif %} End DateRemaining DaysPinned Members {% if sort == 'members' %}{% endif %} Tickets {% if sort == 'tickets' %}{% endif %} CreatedUpdatedActions
{{ p.name }} {{ p.ticket_prefix }} {% with prog=p.progress_percentage %} {{ prog }}% {% endwith %} {{ p.start_date|date:"d/m/Y"|default:"—" }}{{ p.end_date|date:"d/m/Y"|default:"—" }} {% if p.remaining_days is None %} — {% else %} {% with days=p.remaining_days %} {{ days }} days {% endwith %} {% endif %}
{% csrf_token %}
{{ p.member_count }}{{ p.ticket_count }}{{ p.created_at|date:"d/m/Y H:i" }}{{ p.updated_at|date:"d/m/Y H:i" }}

No projects yet

{% if request.user.is_admin %} Create your first project {% endif %}
{% if page_obj.has_other_pages %}

Showing {{ page_obj.start_index }}–{{ page_obj.end_index }} of {{ page_obj.paginator.count }}

{% if page_obj.has_previous %} Previous {% endif %} {% for n in page_obj.paginator.page_range %} {% if n == page_obj.number %} {{ n }} {% elif n >= page_obj.number|add:"-2" and n <= page_obj.number|add:"2" %} {{ n }} {% endif %} {% endfor %} {% if page_obj.has_next %} Next {% endif %}
{% endif %}
{% endblock %}