{% extends "base.html" %} {% block title %}{{ name }}{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}
{# Branches table, show max 10 rows #} {% if exists("branches") %}

Branches

{% for br in branches %} {% if loop.index1 < 10 %} {% set br_name = br.name %} {% endif %} {% endfor %} {% if length(branches) > 10 %} {% endif %}
Branch Commit message Author Age
{{ br_name }} {{ br.last_commit_summary }} {{ br.last_commit_author }} {{ br.last_commit_age }}
[...]
{% endif %} {# Tags table, show max 10 rows #} {% if exists("tags") %}

Tags

{% for t in tags %} {% if loop.index1 < 10 %} {% endif %} {% endfor %} {% if length(tags) > 10 %} {% endif %}
Tag Download Author Age
{{ t.name }} {% if t.downloads %} {% for d in t.downloads %} {% endfor %} {% endif %} {% if t.author %}{{ t.author }}{% endif %} {% if t.age %}{{ t.age }}{% endif %}
[...]
{% endif %} {# Recent commits table (last 10) #} {% if exists("commits") %}

Last commits

{% for c in commits %} {% if loop.index1 < 10 %} {% endif %} {% endfor %} {% if length(commits) > 10 %} {% endif %}
Age Commit message Author Files Lines
{% if c.age %}{{ c.age }}{% endif %} {% if c.summary %} {% if current_branch %} {{ c.summary }} {% else %} {{ c.summary }} {% endif %} {% endif %} {% if c.is_head %} HEAD {% endif %} {% if c.branch_name != "" %} {{ c.branch_name }} {% endif %} {% if c.author %}{{ c.author }}{% endif %} {% if c.files %}{{ c.files }}{% endif %} {% if c.removed %}-{{ c.removed }}/{% endif %}{% if c.added %}+{{ c.added }}{% endif %}
[...]
{% endif %} {# Clone URLs #} {% if exists("clone_urls") and length(clone_urls) > 0 %}

Clone

{% for u in clone_urls %} {% endfor %}
{{ u }}
{% endif %}
{% endblock %}