{% extends "repository/repository.html" %} {% block page_title %}Log: {{ repository }}/{{ revision }}{% endblock %} {% block menu_log_class %}selected{% endblock %} {% block content %}
{% for commit in commits %} {% endfor %}
Author ID Message Commit time Files Lines
{% if commit.author.name|length > 0 %} {{ commit.author.name }} {% else %} [anonymous] {% endif %} {{ commit.short_id }} {% if commit.message|length <= 100 %} {{ commit.message }} {% else %}
{{ commit.message[:100] }} ...
{{ commit.message }}
{% 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.deletions }}/+{{ diff[commit.short_id].stats.insertions }} {% 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 %}