1 {#- reviews.md template -#}
2 {#- ------------------- -#}
3 {#- sender: Name of sender -#}
4 {#- msg_list: Unsorted list of {'creation_time','msg'} dicts -#}
5 {%- if sender is defined -%}
6 {%- set welcome = "Hi " ~ sender ~ ": " -%}
8 {%- set welcome = "" %}
11 {{ welcome }}I found no open MRs for you.
13 {{welcome}}These MRs need some attention:
14 {% for a_msg in msg_list|sort(attribute='creation_time') %}
18 {%- if sender is not defined -%}
19 You can get an updated list with the !reviews command.