{% extends "client_portal/base.html" %} {% from "components/ui.html" import page_header %} {% block title %}{{ _('Issues') }} - {{ _('Client Portal') }}{% endblock %} {% block content %} {% set breadcrumbs = [ {'text': _('Client Portal'), 'url': url_for('client_portal.dashboard')}, {'text': _('Issues')} ] %} {{ page_header( icon_class='fas fa-bug', title_text=_('Issue Reports'), subtitle_text=_('Report and track issues for %(client_name)s', client_name=client.name), breadcrumbs=breadcrumbs ) }}
{{ _('All') }} {{ _('Open') }} {{ _('In Progress') }} {{ _('Resolved') }} {{ _('Closed') }}
{{ _('Report New Issue') }}
{% if issues %}
{% for issue in issues %}
{{ issue.title }}
{{ issue.status_display }} {{ issue.priority_display }} {% if issue.project %} {{ issue.project.name }} {% endif %}
{{ issue.created_at.strftime('%Y-%m-%d') }}
{% if issue.description %}

{{ issue.description[:200] }}{% if issue.description|length > 200 %}...{% endif %}

{% endif %}
{% endfor %}
{% else %}

{{ _('No issues found.') }}

{% endif %}
{% endblock %}