{% load i18n %} {% with object.project as object %} {% include "project_info.html" %} {% endwith %} {% if perms.trans.can_see_git_repository %} {% trans "Git repository:" %} {{ object.get_repo_url }} ({{ object.get_repo_branch }} @ {% with object.get_last_remote_commit as 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 }} {% endif %} {% endwith %} {% endif %}