{# Top-bar status chips. verbose=True (More sheet) also prints each chip's title as visible text. #} {% macro status_chips(shell, verbose=False) -%} {% if shell.hub_ok %} hub online {% else %} hub offline {% endif %} {% if shell.pull %} {{ shell.pull.label }}{% if verbose %}{{ shell.pull.title }}{% endif %} {% endif %} {% if shell.commit %} @{{ shell.commit.sha }} · {{ shell.commit.date }}{% if verbose %}{{ shell.commit.title }}{% endif %} {% endif %} federation · {{ shell.repo_count }} repos strata-kb {{ shell.version }}{% if verbose %}strata-kb version this hub runs{% endif %} {%- endmacro %}