{% load i18n %}

{% with object.project as object %}
{% include "project_info.html" %}
{% endwith %}
<p>{% trans "Git repository:" %} 
<code>{% if object.is_repo_link %}{{ object.get_linked_repo.repo }}{% else %}{{ object.repo }}{% endif %}</code> 
{% 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 %}
</p>
