{% load i18n %} {% trans "Log Hub - Log Viewer" %}

{% trans "Log Hub" %} | {% trans "Count" %}: {{ log_count }}

{% trans "File Management" %}
{% if not hata %} {% if logs %}
{% for log in logs %}

{% trans "Date" %}: {{ log.timestamp }}

{% trans "Name" %}: {{ log.name }}

{% if log.request %}

{% trans "Request" %}: {{ log.request }}

{% endif %} {% if log.message %}

{% trans "Message" %}:

{{ log.message|linebreaksbr }}
{% endif %} {% if log.info %} {% trans "Details" %}:
    {% for line in log.info %}
  • {{ line }}
  • {% endfor %}
{% endif %}
{% endfor %}
{% else %}
📋
{% trans "No Logs Found" %}
{% trans "No log records found matching the selected criteria. Try changing the filters." %}
{% endif %} {% else %} {% if "Log directory not found" in hata or "No .log files found" in hata %}
📁
{% trans "Log Directory Not Found" %}
{{ hata }}
{% elif "Selected log file not found" in hata %}
📄
{% trans "Log File Not Found" %}
{{ hata }}
{% elif "encoding error" in hata %}
⚠️
{% trans "File Encoding Error" %}
{{ hata }}
{% elif "No permission" in hata %}
🔒
{% trans "Access Denied" %}
{{ hata }}
{% elif "Invalid date format" in hata %}
📅
{% trans "Invalid Date Format" %}
{{ hata }}
{% else %}
{% trans "An Error Occurred" %}
{{ hata }}
{% endif %} {% endif %}