{% extends "layouts/base.html" %} {% load static i18n %} {% block title %}{% trans "Notification Manager" %} - {% trans "Gerenciador de Notificações" %}{% endblock %} {% block extrastyle %} {% endblock %} {% block content %}
{{ total_notifications }}
{% trans "Total" %}
{{ unread_notifications }}
{% trans "Não Lidas" %}
{{ notifications_with_rewards }}
{% trans "Com Prêmios" %}
{{ total_rewards_claimed }}
{% trans "Prêmios Reclamados" %}
{% trans "Todas as Notificações" %}

{% trans "Visualize, edite e gerencie todas as notificações do sistema." %}

{% trans "Ver Lista Completa" %}
{% trans "Criar Notificação" %}

{% trans "Crie novas notificações com ou sem prêmios para usuários específicos ou públicos." %}

{% trans "Criar Nova" %}
{% trans "Notificações Recentes" %}
{% if recent_notifications %} {% for notification in recent_notifications %}
{{ notification.get_notification_type_display }} {% if notification.rewards.exists %} {% trans "Com Prêmios" %} {% endif %} {% if not notification.viewed %} {% trans "Não Lida" %} {% endif %}

{{ notification.message|truncatewords:15 }}

{% if notification.user %} {% trans "Para:" %} {{ notification.user.username }} {% else %} {% trans "Pública" %} {% endif %} • {{ notification.created_at|date:"d/m/Y H:i" }}
{% endfor %} {% else %}

{% trans "Nenhuma notificação encontrada" %}

{% endif %}
{% if top_rewards %}
{% trans "Prêmios Mais Entregues" %}
{% for reward in top_rewards %} {% endfor %}
{% trans "Item" %} {% trans "Quantidade de Vezes" %}
{{ reward.item_name }}
ID: {{ reward.item_id }}
{{ reward.total_amount }}
{% endif %}
{% endblock %}