{%- set group0_values = ["", "(", "((", "(((", "((((", "((((("] %} {%- set group1_values = ["", ")", "))", ")))", "))))", ")))))"] %} {%- if not filters %} {%- set filters = [["and", "", "", "", "", ""]] %} {%- endif %} {%- for filter in filters %} {%- set i = 0 %} {%- set i = i + 1 %} {%- if filter[i] in group0_values %} {%- set i = i + 1 %} {%- endif %} {%- set i = i + 1 %} {%- set i = i + 1 %} {%- set i = i + 1 %} {%- if loop.first %} {%- else %} {%- endif %} {%- endfor %}{# filter #}
{%- if loop.first %} {%- endif %} {%- for conjunction in ["and", "or"] %} {%- if filter[i] == conjunction %} {%- else %} {%- endif %} {%- endfor %}{# conjunction #}
{%- for other_col in known_keys %} {%- if other_col not in ["idx", "branch", "revision", "owner", "project", "title"] %} {%- endif %} {% endfor %} {%- if data %} {%- for item in data %} {%- set info = "suite: %s/%s@%s
"|format(item.idx, item.branch, item.revision) %} {%- for key, value in item|dictsort %} {%- if value is not none and key not in ["idx", "branch", "revision", "href", "owner", "project", "title"] %} {%- if "-list" in key %} {%- set value = value|join(" ") %} {%- endif %} {%- set info = info ~ "" ~ key ~ "" ~ ": " ~ value ~ "
" %} {%- endif %} {%- if loop.last %} {%- endif %} {%- endfor %} {%- for col in ["branch", "revision", "owner", "project", "title"] %} {%- endfor %} {%- for other_col in known_keys %} {%- if other_col not in ["idx", "branch", "revision", "owner", "project", "title"] %} {%- endif %} {%- endfor %} {%- endfor %} {%- endif %}
detail idx branch revision owner project title{{ other_col }}
{{ item.idx }}{{ item[col] }}{{ item[other_col] }}

Rose {{rose_version}}