{% extends 'layout_repo.html' %} {% from 'include/empty.html' import empty %} {% from 'components/log.html' import pre_code %} {% set active_page='repo' %} {% set active_repo_page='logs' %} {% block title %} {% trans %}Repository Logs{% endtrans %} {% endblock %} {% block content %}
{% if data %}
{% trans %}Notice: To prevent performance issues, only the last 2000 lines of each log files are displayed.{% endtrans %} {% trans %}Show all logs{% endtrans %}
{{ pre_code(data)}} {% elif file or date %} {% call empty('icon-file', 'Log file empty') %}

{% trans %}This log file is empty. Select another log file to show it's contents.{% endtrans %}

{% endcall %} {% else %} {% call empty('icon-file', 'No log file selected') %}

{% trans %}Select a log file to show it's contents.{% endtrans %}

{% endcall %} {% endif %}
{% endblock %}