File tree 2 files changed +30
-1
lines changed
coderd/notifications/testdata/rendered-templates
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ The number of failed prebuilds has reached the hard limit for template dock=
16
16
er and preset particle-accelerator.
17
17
18
18
19
+ View failed workspaces: http://test.com/workspaces?filter=3Downer:prebuilds=
20
+ +status:failed+template:docker&page=3D1
21
+
22
+ View template version: http://test.com/templates/cern/docker/versions/angry=
23
+ _torvalds
24
+
19
25
--bbe61b741255b6098bb6b3c1f41b885773df633cb18d2a3002b68e4bc9c4
20
26
Content-Transfer-Encoding: quoted-printable
21
27
Content-Type: text/html; charset=UTF-8
@@ -52,6 +58,20 @@ ong>.</p>
52
58
</div>
53
59
<div style=3D"text-align: center; margin-top: 32px;">
54
60
=20
61
+ <a href=3D"http://test.com/workspaces?filter=3Downer:prebuilds+stat=
62
+ us:failed+template:docker&page=3D1" style=3D"display: inline-block; padding=
63
+ : 13px 24px; background-color: #020617; color: #f8fafc; text-decoration: no=
64
+ ne; border-radius: 8px; margin: 0 4px;">
65
+ View failed workspaces
66
+ </a>
67
+ =20
68
+ <a href=3D"http://test.com/templates/cern/docker/versions/angry_tor=
69
+ valds" style=3D"display: inline-block; padding: 13px 24px; background-color=
70
+ : #020617; color: #f8fafc; text-decoration: none; border-radius: 8px; margi=
71
+ n: 0 4px;">
72
+ View template version
73
+ </a>
74
+ =20
55
75
</div>
56
76
<div style=3D"border-top: 1px solid #e2e8f0; color: #475569; font-siz=
57
77
e: 12px; margin-top: 64px; padding-top: 24px; line-height: 1.6;">
Original file line number Diff line number Diff line change 9
9
"user_email": "bobby@coder.com",
10
10
"user_name": "Bobby",
11
11
"user_username": "bobby",
12
- "actions": [],
12
+ "actions": [
13
+ {
14
+ "label": "View failed workspaces",
15
+ "url": "http://test.com/workspaces?filter=owner:prebuilds+status:failed+template:docker\u0026page=1"
16
+ },
17
+ {
18
+ "label": "View template version",
19
+ "url": "http://test.com/templates/cern/docker/versions/angry_torvalds"
20
+ }
21
+ ],
13
22
"labels": {
14
23
"org": "cern",
15
24
"preset": "particle-accelerator",
You can’t perform that action at this time.
0 commit comments