{% load i18n %} {% 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 commited changes!" %}
{% endif %} {% if object.git_needs_pull %}{% 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 %}{{ sp.get_repo.git.status }}{% endfor %} {% else %}
{{ object.get_repo.git.status }}{% endif %}