{% macro pr_table(wb, id, searchBarId) %}
{% for name in wb.gh_status_names %} {% endfor %} {% for pr in wb.prs %} {% for name in wb.gh_status_names %} {% endfor %} {% endfor %}
PR Build State GitHub Statuses Labels Branch Review State Author
{{ name }}
{{ pr.title }} #{{ pr.number }} {% if pr.build_state is not none %} {{ pr.build_state }} {% else %} pending {% endif %} {% if pr.build_state is not none and pr.out_of_date %} * {% endif %} {{ pr['gh_statuses'][name] | default("") }} {{ pr.labels|join(", ") }} {{ pr.source_branch_name }} {% if pr.review_state %} {{ pr.review_state }} {% endif %} {{ pr.author }}
{% endmacro %}