{% extends "base.html" %} {% from "_macros.html" import icon, avatar %} {% set tab = "code" %} {% block title %}{{ repo.name }}{% endblock %} {% block repohead %}{% include "_repohead.html" %}{% endblock %} {% block content %}
{% if path %}{% endif %}
{% if commit %} ⬇ Download ZIP {% endif %} {% if repo.work_dir %}Commit changes {% else %}Upload project{% endif %}
{% if not commit %}

No commits on this branch yet

{% if repo.work_dir %}

Project folder: {{ repo.work_dir }}

Create the first commit {% else %}

Upload the project folder from the browser, or link a folder on this computer in Settings.

Upload project Link folder {% endif %}
{% else %}
{{ avatar(commit.author) }} {{ commit.author or "?" }} {{ commit.title }} {{ commit.short }} {{ commit.time }} {{ icon("commit") }} {{ total_commits }} commit{{ '' if total_commits == 1 else 's' }}
{% if path %}{% endif %} {% for d in dirs %} {% endfor %} {% for f in files %} {% endfor %}
..
{{ icon("dir") }}{{ d.name }} {{ d.count }} file{{ '' if d.count == 1 else 's' }}{% if d.vis %}, {{ d.vis }} VI{{ '' if d.vis == 1 else 's' }}{% endif %}
{% if d.last %}{{ d.last.title }}{% endif %} {% if d.last %}{{ d.last.time }}{% endif %}
{{ icon(f.kind) }}{{ f.name }} {{ f.size|hsize }}
{% if f.last %}{{ f.last.title }}{% endif %} {% if f.last %}{{ f.last.time }}{% endif %}
{% if readme %}
README
{{ readme }}
{% endif %} {% endif %} {% endblock %}