{% extends "base.html" %} {% block title %}Admin - Reportes{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
Gerencie reportes dos usuários sobre conteúdos com problemas
| # | Usuário | Conteúdo | Tipo | Problema | Data | Status | Ações |
|---|---|---|---|---|---|---|---|
| #{{ r.id }} | {{ r.user.email }} |
{{ r.content_name[:50] }}{% if r.content_name|length > 50 %}...{% endif %}
{% if r.group_title %}
{{ r.group_title }}
{% endif %}
|
{{ r.content_type }} | {% set issue_labels = {'sem_audio': '🔇 Sem Áudio', 'nao_pega': '📡 Não Pega', 'tela_preta': '🖥️ Tela Preta', 'travando': '⏸️ Travando', 'offline': '❌ Offline'} %} {{ issue_labels.get(r.issue_type, r.issue_type) }} | {{ r.created_at|bdatetime }} |
{% if r.status == 'pending' %}
Pendente
{% elif r.status == 'resolved' %}
Resolvido
{% elif r.status == 'offline' %}
Offline
{% else %}
Descartado
{% endif %}
{% if r.admin_note %}
📝 {{ r.admin_note[:40] }}
{% endif %}
|
{% if r.status == 'pending' %}
|
| Nenhum reporte encontrado. | |||||||