-
Notifications
You must be signed in to change notification settings - Fork 410
/
Copy pathnew-feature-email.html
70 lines (63 loc) · 2.01 KB
/
new-feature-email.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{% import 'email-styles.html' as styles %}
<div style="{{styles.body}}">
<div style="{{styles.branding}}">{{APP_TITLE}}</div>
<div style="{{styles.content}} {{styles.content_new}}">
<section id="context" style="{{styles.section}}">
<table>
<tr>
<td rowspan=2>{{styles.icon_new()}}</td>
<td><b>New</b> feature entry:</td>
</tr>
<tr>
<td><a style="{{styles.feature_name}}"
href="{{SITE_URL}}feature/{{id}}"
>{{feature.name}}</a>
</td>
</tr>
</table>
</section>
<section id="details" style="{{styles.section}}">
<div><b>New details entered by {{feature.creator_email}}:</div>
<table>
<tr>
<td style="{{styles.td}}">Summary:</td>
<td style="{{styles.td}}">{{feature.summary}}</td>
</tr>
<tr>
<td style="{{styles.td}}">Unlisted:</td>
<td style="{{styles.td}}">{% if feature.unlisted %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<td style="{{styles.td}}">Breaking change:</td>
<td style="{{styles.td}}">{% if feature.breaking_change %}Yes{% else %}No{% endif %}</td>
</tr>
<tr>
<td style="{{styles.td}}">Feature owners:</td>
<td style="{{styles.td}}">{{feature.owner_emails|join(", ")}}</td>
</tr>
<tr>
<td style="{{styles.td}}">Cc:</td>
<td style="{{styles.td}}">{{feature.cc_emails|join(", ")}}</td>
</tr>
<tr>
<td style="{{styles.td}}">Blink component:</td>
<td style="{{styles.td}}">{{feature.blink_components|join(", ")}}</td>
</tr>
<tr>
<td style="{{styles.td}}">Category:</td>
<td style="{{styles.td}}">{{category}}</td>
</tr>
<tr>
<td style="{{styles.td}}">Feature type:</td>
<td style="{{styles.td}}">{{feature_type}}</td>
</tr>
</table>
</section>
<section id="next-steps" style="{{styles.section}}">
<div><b>Your next steps:</b></div>
<div style="{{styles.button_div}}">
<a href="{{SITE_URL}}feature/{{id}}" style="{{styles.button_a}}"
>View feature details</a></div>
</section>
</div>
</div>