{% extends "repository/repository.html" %} {% block page_title %}Log: {{ repository }}/{{ revision }}{% endblock %} {% block menu_log_class %}selected{% endblock %} {% block content %}
{% if defaults.LOG_STATS %} {% endif %} {% for commit in commits %} {% if defaults.LOG_STATS %} {% endif %} {% endfor %}
Author ID Message Commit timeFiles Lines
{% if commit.author.name|length > 0 %} {{ commit.author.name }} {% else %} [anonymous] {% endif %} {{ commit.short_id }} {% set subject, body = commit.message.split('\n', 1) %} {% if body|length == 0 %} {{ commit.message }} {% else %}
{{ subject }}
{{ body.strip() }}
{% endif %}
{{ commit_time(commit.commit_time, commit.commit_time_offset)|ago }} {% if commit.short_id in diff %} {{ diff[commit.short_id].stats.files_changed }} {% endif %} {% if commit.short_id in diff %} +{{ diff[commit.short_id].stats.insertions }}/-{{ diff[commit.short_id].stats.deletions }} {% endif %}

{% if offset > 0 %} {% set prev_offset = offset - log_pagination %} « Prev {% endif %} {% if commits|length == log_pagination %} {% set next_offset = offset + log_pagination %} Next » {% endif %}
{% endblock %}