{% load i18n %} {% with object.project as object %} {% include "project_info.html" %} {% endwith %}
{% trans "Git repository:" %}
{% if object.is_repo_link %}{{ object.get_linked_repo.repo }}{% else %}{{ object.repo }}{% endif %}
{% if object.is_repo_link %}
({% blocktrans with object.get_linked_repo.branch as branch %}{{ branch }} branch{% endblocktrans %})
{% else %}
({% blocktrans with object.branch as branch %}{{ branch }} branch{% endblocktrans %})
{% endif %}