+4 -3 +/-1 browse
1 | diff --git a/core/src/templates.rs b/core/src/templates.rs |
2 | index 5874b5e..8774c62 100644 |
3 | --- a/core/src/templates.rs |
4 | +++ b/core/src/templates.rs |
5 | @@ -179,10 +179,11 @@ impl Template { |
6 | pk: -1, |
7 | name: Self::SUBSCRIPTION_REQUEST_NOTICE_OWNER.to_string(), |
8 | list: None, |
9 | - subject: Some("Subscription request for {{ list.id }} by {{ candidate }}".to_string()), |
10 | + subject: Some("Subscription request for {{ list.id }}".to_string()), |
11 | headers_json: None, |
12 | - body: "Candidate primary key: {{ candidate.pk }}\n\n{{ details|safe if details else \ |
13 | - \"\" }}" |
14 | + body: "Candidate {{ candidate.name if candidate.name else \"\" }} <{{ \ |
15 | + candidate.address }}> Primary key: {{ candidate.pk }}\n\n{{ details|safe if \ |
16 | + details else \"\" }}" |
17 | .to_string(), |
18 | } |
19 | } |