{% macro tabs(repo, tab) %}
{{ repo.owner }} / {{ repo.name }}{% if repo.visibility != "public" %} {{ repo.visibility }}{% endif %} Code Changes Bookmarks Tags Conflicts Trust Pushes
{% 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 %}
{{ c.author.name }} ·
{% 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 %}