{% macro tabs(repo, tab) %}
{{ repo.owner }} / {{ repo.name }}{% if repo.visibility != "public" %} {{ repo.visibility }}{% endif %} Code Changes Proposals Issues Bookmarks Releases Tags Conflicts Trust Pushes {% if repo.can_maintain() %}Settings{% endif %}
{% endmacro %} {% macro sig(s) %}{{ s.glyph() }}{% endmacro %} {% macro labels(c) %}{% for l in c.labels %}{{ l.name }}{% endfor %}{% endmacro %} {% macro change_row(repo, c) %}
{{ c.title }} {% call labels(c) %} {% if c.resolution %}resolution{% endif %} {% if c.head %}head{% endif %}
{% if let Some(a) = c.author.account %}{{ c.author.name }}{% else %}{{ c.author.name }}{% endif %} ·
{% call sig(c.signature) %} {{ c.short }}
{% endmacro %} {% macro diff(files) %} {% for f in files %}
{{ f.kind }} {% if let Some(from) = f.from %}{{ from }} → {% endif %}{{ f.path }} +{{ f.added }} −{{ f.removed }}
{% if f.lines.is_empty() %}

No line changes.

{% else %} {% for l in f.lines %} {% endfor %}
{% if let Some(n) = l.old_no %}{{ n }}{% endif %} {% if let Some(n) = l.new_no %}{{ n }}{% endif %} {{ l.kind.sign() }}
{{ l.text }}
{% endif %}
{% endfor %} {% endmacro %}