{# _jurnal.html — tab Jurnal de aplicatie. Lista paginata de evenimente (app_events), redactate la scriere. Filtre tip/nivel/ data + (admin) cont. #}

Jurnal de aplicatie

{% if is_admin %} admin: toate conturile {% else %} doar evenimentele contului tau {% endif %}
{% if is_admin %}
{% endif %}
{% if evenimente %}
{% if is_admin %}{% endif %} {% for e in evenimente %} {% if is_admin %}{% endif %} {% endfor %}
Cand Sursa Tip NivelContCod Mesaj
{{ e.ts }} {{ e.sursa }} {{ e.tip }} {{ e.nivel }} {{ e.account_id if e.account_id is not none else '—' }}{{ e.cod or '—' }} {{ e.mesaj or '' }}
{# Paginare: prev/next pe acelasi set de filtre #} {% if prev_page is not none or next_page is not none %}
{% if prev_page is not none %} ‹ mai noi {% endif %} pagina {{ page + 1 }} {% if next_page is not none %} mai vechi › {% endif %}
{% endif %} {% else %}
Niciun eveniment pe filtrul curent.
{% endif %}