{% extends "repo/base.html" %} {% block tree_nav_class %}active{% endblock %} {% block content %}
Mode | Name | Size | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{ tree.mode|file_perms }} |
{{ tree.name }} |
{%- when crate::git::TreeItem::File with (file) -%} | {{ file.mode|file_perms }} |
{{ file.name }} |
{{ file.size }} |
{%- when crate::git::TreeItem::Submodule with (submodule) -%} | {{ submodule.mode|file_perms }} |
🔗 {{ submodule.name }} @ {{ submodule.oid.to_hex_with_len(7) }} |
{%- endmatch %} |