{% load i18n %} {% load rules %} {% has_perm 'projects.add_snapshot_object' request.user project as can_add_snapshot %} {% has_perm 'projects.change_snapshot_object' request.user project as can_change_snapshot %} {% has_perm 'projects.rollback_snapshot_object' request.user project as can_rollback_snapshot %} {% if snapshots or can_add_snapshot or can_change_snapshot or can_rollback_snapshot %}

{% trans 'Snapshots' %}

{% include 'projects/project_detail_snapshots_help.html' %} {% if snapshots %} {% for snapshot in snapshots %} {% endfor %}
{% trans 'Snapshot' %} {% trans 'Description' %} {% trans 'Created' %} {% if can_add_snapshot %} {% endif %}
{{ snapshot.title }} {{ snapshot.description }} {{ snapshot.created }} {% if can_change_snapshot %} {% endif %} {% if can_rollback_snapshot %} {% endif %}
{% else %} {% if can_add_snapshot %}

{% endif %}

{% trans 'No snapshots found.' %}

{% endif %}
{% endif %}