{% block repository-menu %}
{% endblock %}
{% block browse-content %}
{% block browse-content-info %}
{% load breadcrumber %}
{% path_breadcrumbs request.META.PATH_INFO 3 %}
{% block changeset-message %}
{% if changeset %}
-
{% trans "Committed by" %} {{ changeset.author|hide_email }}
{{ changeset.date|timesince }}
{% trans "ago" %}
{{ changeset.message }}
{% endif %}
{% endblock %}
{# history #}
{% if root.is_file %}
{% trans "History" %}
{% for changeset in root.history %}
-
{{ changeset }}
{% if root.changeset.id != changeset.id %}
({% trans "diff" %})
{% endif %}
{% endfor %}
{% endif %}
{# end history #}
{% endblock %}
{% if root.is_dir %}
{% trans "Name" %} |
{% trans "Size" %} |
{% trans "Revision" %} |
{% trans "Last modified" %} |
{% trans "Last committer" %} |
{% if root.parent %}
..
|
|
|
|
|
{% endif %}
{% for node in root.nodes %}
{{ node.name }}
|
{% if node.is_dir %}
| | | |
{% else %}
{% if node.is_file %}{{ node.size|filesizeformat }}{% endif %} |
{{ node.last_changeset.revision }}
|
{{ node.last_changeset.date|timesince }} {% trans "ago" %}
|
{{ node.last_changeset.author|hide_email|tooltip:"20" }} |
{% endif %}
{% endfor %}
{% endif %}
{% if root.is_file %}
{% if root.is_binary %}
- {% trans "This is binary file" %}
{% else %}
{% highlight root.content root.lexer_alias linenos=true anchorlinenos=true lineanchors=line cssclass="code-highlight" %}
{% endif %}
{% endif %}
{% endblock %}