{% load i18n %} {% load url from future %} {% with object.git_needs_commit as needs_commit %} {% if perms.trans.commit_translation or perms.trans.update_translation %}
{% if needs_commit %}{% trans "There are some not committed changes!" %}
{% endif %} {% if object.git_needs_merge %}{% trans "Remote Git repository needs to be merged!" %}
{% endif %} {% if object.git_needs_push %}{% trans "There are some new commits in local Git repository!" %}
{% endif %} {% if object.subproject_set %} {% else %} {% with object.get_last_remote_commit as commit %}{% trans "Last remote commit:" %} {% include "git-commit-info.html" %}
{% endwith %} {% with object.get_export_url as export_url %} {% if export_url %}
{% trans "Git repository with Weblate translations:" %}
{{ export_url }}
{{ sp.git_repo.git.status }}{% endfor %} {% else %}
{{ object.git_repo.git.status }}{% endif %}