{# Out-of-band tab-count spans for the selected queue, sent alongside the sidebar refresh so the badges and the state-tab numbers update together in one request. Tiny id'd spans → cheap swap, and tabular-nums means no reflow as digits change. #} {% from "macros.html" import tabcount %} {% for s in states %} {{ tabcount(s, counts[s], oob=true) }} {% endfor %}