{% extends "layout.html" %} {% block title %}Browse revision at path{% endblock %} {% block content %} {% if message is not none %} {{ message }} {% endif %} {% if result is not none %}

Browse revision '{{ revision }}' with {{ result['type'] }}path '{{ path }}':

{% if result['type'] == 'dir' %} {% if result['content'] is not none %} {% for e in result['content'] %} {% if e.type == 'dir' %}

{{ e.name }} {% if 'decoding_failures' in e %}(some decoding errors){% endif %}

{% else %}

{{ e.name }} {% if 'decoding_failures' in e %}(some decoding errors){% endif %}

{% endif %} {% endfor %} {% endif %} {% else %} {% if result['content'] is not none %} {% for key in ['sha1', 'sha256', 'sha1_git', 'status', 'length', 'ctime'] %}
{{ key }}
{{ result['content'][key] }}
{% endfor %} {% endif %} {% if result['content']['data_url'] is not none %}
data_url
Download data
{% endif %} {% if result['content']['data'] is not none %}
data
{{ result['content']['data'] }}
{% endif %} {% if 'decoding_failures' in result %}
(some decoding errors)
{% endif %} {% endif %} {% endif %} {% endblock %}