{% load i18n %} {% load translations %} {% load permissions %} {% load humanize %} {% load icons %} {% with needs_commit=object.needs_commit %} {% perm 'vcs.commit' object as user_can_commit_translation %} {% perm 'vcs.update' object as user_can_update_translation %} {% perm 'vcs.push' object as user_can_push_translation %} {% perm 'vcs.reset' object as user_can_reset_translation %} {% perm 'component.lock' object as user_can_lock_component %}

{% documentation_icon 'devel/integration' 'manage-vcs' right=True %} {% trans "Repository status" %}

{% if user_can_reset_translation %}

{% documentation_icon 'devel/integration' 'manage-vcs' right=True %} {% trans "Danger zone" %}

{% endif %} {% for component in repositories %}

{% blocktrans %}Repository for {{ component }}{% endblocktrans %}

{% include "snippets/git-info.html" with object=component %}
{% trans "Repository details" %}
{{ component.repository_status }}
{% endfor %}

{% trans "Repository changes" %}

{% include "last-changes-content.html" with last_changes=changes %}
{% endwith %}