{% extends 'base.html' %} {% block title %}Commits{% endblock %} {% block content %} {% macro commit_link(ltext, lclass='', apage=None, alimit=None, astatus_filter=None) %} {{ltext|safe}} {% endmacro %}

Commits for {{project.name}}

back to projects

{{commit_link("All", lclass='btn btn-primary',astatus_filter=[NA])}} {{commit_link("Committed", lclass='btn btn-info',astatus_filter=['committed'])}} {{commit_link("Reviewed", lclass='btn btn-info',astatus_filter=['reviewed'])}} {{commit_link("Approved", lclass='btn btn-success',astatus_filter=['approved'])}} {{commit_link("Merged", lclass='btn btn-success',astatus_filter=['merged'])}} {{commit_link("Rejected", lclass='btn btn-danger',astatus_filter=['rejected'])}} {{commit_link("Outdated", lclass='btn btn-danger',astatus_filter=['outdated'])}}
{% if statuses %}

Showing commits listed as {{statuses|join(', ')}}

{% else %}

Showing all commits

{% endif %}

{% if page > 1 %} {{ commit_link('previous', apage=page-1) }} {% endif %} {% if commits.wrapped_count(False) >= limit %} {{ commit_link('next', apage=page+1) }} {% endif %}

Showing {{limit}} results per page: {% if limit != 10 %} {{ commit_link('10', alimit=10) }} | {% endif %} {% if limit != 25 %} {{ commit_link('25', alimit=25) }} | {% endif %} {% if limit != 50 %} {{ commit_link('50', alimit=50) }} {% endif %}

{% if commits.wrapped_count(False) > 0 %} {% for c in commits %} {% endfor %}
Author Date Author Message Status Actions
{{c.author_date}} {{c.author_name}} {{c.message}} {{c.status}} View
{% else %}

No results

{% endif %} {% endblock %}