{% macro chip(c) %}{{ c.colour.label() }}{% endmacro %} {% macro rows(list) %}
| Repository | Pin on | Behind | Status | Open bump | Last landed | Follows |
|---|---|---|---|---|---|---|
| {{ c.owner }}/{{ c.name }} {{ c.path }} | {{ c.bookmark }} | {% match c.behind %}{% when Some(0) %}0{% when Some(n) %}{{ n }}{% when None %}?{% endmatch %} | {% call chip(c) %} | {% if let Some(n) = c.bump %}#{{ n }}{% if let Some((r, st)) = c.run %} · run #{{ r }} {{ st }}{% endif %}{% else %}none{% endif %} | {% if let Some((n, at)) = c.landed %}#{{ n }} {% else %}—{% endif %} | {% match c.follow %}{% when crate::diffusion::Follow::Off %}off{% when crate::diffusion::Follow::Green %}when green{% when crate::diffusion::Follow::Any %}every move{% endmatch %} |