{% extends "base.html" %}{% block title %}{{ file_path }} – {{ repo_name }}{% endblock %} {% block head %} {% endblock %} {% block content %} {% if (git_readonly or repo_readonly) and not can_edit %}
{{ t('git_readonly_notice') }}
{% endif %}

{% if is_markdown %}{% else %}{% endif %} {{ repo_name }}/{{ file_path }} {% if branch %} {{ branch }}{% endif %}

{% if not is_image %}{{ line_count }} linii{% endif %} {% if can_edit and not is_image %} Edytuj{% endif %} {% if can_edit %}↔ {{ t('rename_btn') }}{% endif %} {% if can_edit %}
{% endif %} Raw {% set parent = file_path.rsplit('/', 1)[0] if '/' in file_path else '' %} {% if parent %} ← Powrót {% else %} ← Powrót {% endif %}
{% if is_image %}
{{ file_path }}
{{ file_path }} · podgląd – otwórz „Raw”, aby pobrać oryginał
{% elif is_markdown %} {{ content_html|safe }} {% else %}
{% for i in range(1, line_count + 1) %}{{ i }}{% endfor %}
{{ content_html|safe }}
{% endif %}
{% endblock %}