{% if git.tracked %}
{{ git.branch or 'detached' }}
{% if git.upstream %}
{% if git.ahead %}↑{{ git.ahead }}{% endif %}
{% if git.behind %}↓{{ git.behind }}{% endif %}
{% if not git.ahead and not git.behind and not git.dirty %}✓ synced{% endif %}
{% else %}
no remote
{% endif %}
{% if git.dirty %}●{{ git.dirty }}{% endif %}
{% else %}
No git repo
{% endif %}
{% if git_message and git_message_level == 'error' %}
⚠{{ git_message }}
{% endif %}
{% if selected_milestone and filters.view != 'milestones' and filters.view != 'projects' %}
{% include "partials/milestone_banner.html" %}
{% endif %}
{% if filters.view == 'calendar' %}