{# Expects: owner, repo, branch, latest_commit: Option, access (optional for upload), upload_path (optional) #}
{{ branch }} {% if let Some(c) = latest_commit %}
{{ c.short_id }} {{ c.message }} {% if c.verified %}
Verified
{% endif %}
{% endif %}
{% if upload_path != "" %} download folder {% else %} download {% endif %} {% if access.can_write() %}
upload
{% endif %}