{% extends 'layout_page.twig' %} {% set page = 'files' %} {% block title %}P3X GitList{% endblock %} {% block content %} {% embed 'breadcrumb.twig' with {breadcrumbs: breadcrumbs} %} {% block extra %}
{% if app.show_http_remote or app.show_ssh_remote %} Clone {% endif %} ZIP TAR
{% if app.show_http_remote or app.show_ssh_remote %} {% endif %} {% endblock %} {% endembed %}
{% if files is not empty %} {% if parent is not null %} {% endif %} {% for file in files %} {% endfor %}
Name Mode Size
{% if not parent %} .. {% else %} .. {% endif %}
{%- if file.type == "folder" or file.type == "symlink" -%}   {{ file.name }} {%- elseif file.type == "module" -%}   {{ file.name }} @ {{ file.shortHash }} {%- else -%}   {{ file.name }} {%- endif -%} {{ file.mode }} {% if file.size %}{{ (file.size / 1024) | number_format }} kb{% endif %}
{% else %}

This repository is empty.

{% endif %} {% if readme is defined and readme is not empty %}
{{ readme.filename }}
{{ readme.content }}
{% endif %} {% endblock %}