1234567891011 |
- {% import "_issue.tt" as issue %}
- {% macro render(issues, indent="", branch="", with_age=false, empty="No issues at this time.") %}
- {#- If "branch" is not empty add a trailing space but no newlines before or after -#}
- {%- if branch -%}
- {%- set branch = branch ~ " " -%}
- {%- endif -%}
- {%- for issue in issues %}
- {{indent}}- {{ branch }}{{issue::render(issue=issue, with_age=with_age)}}{% else %}
- {{indent}}- {{empty}}{% endfor -%}
- {% endmacro %}
|