mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
fix: change notifications actions url (#17083)
Related to #17082 Some notifications ( workspace created and workspace manually updated ) are using wrong variables to build the Action URL. Fixing it.
This commit is contained in:
@ -16,7 +16,7 @@ The workspace bobby-workspace has been created from the template bobby-temp=
|
||||
late using version alpha.
|
||||
|
||||
|
||||
View workspace: http://test.com/@bobby/bobby-workspace
|
||||
View workspace: http://test.com/@mrbobby/bobby-workspace
|
||||
|
||||
--bbe61b741255b6098bb6b3c1f41b885773df633cb18d2a3002b68e4bc9c4
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
@ -53,9 +53,9 @@ ha</strong>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
<a href=3D"http://test.com/@bobby/bobby-workspace" style=3D"display=
|
||||
: inline-block; padding: 13px 24px; background-color: #020617; color: #f8fa=
|
||||
fc; text-decoration: none; border-radius: 8px; margin: 0 4px;">
|
||||
<a href=3D"http://test.com/@mrbobby/bobby-workspace" style=3D"displ=
|
||||
ay: inline-block; padding: 13px 24px; background-color: #020617; color: #f8=
|
||||
fafc; text-decoration: none; border-radius: 8px; margin: 0 4px;">
|
||||
View workspace
|
||||
</a>
|
||||
=20
|
||||
|
@ -16,7 +16,7 @@ A new workspace build has been manually created for your workspace bobby-wo=
|
||||
rkspace by bobby to update it to version alpha of template bobby-template.
|
||||
|
||||
|
||||
View workspace: http://test.com/@bobby/bobby-workspace
|
||||
View workspace: http://test.com/@mrbobby/bobby-workspace
|
||||
|
||||
View template version: http://test.com/templates/bobby-organization/bobby-t=
|
||||
emplate/versions/alpha
|
||||
@ -57,9 +57,9 @@ g>.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
<a href=3D"http://test.com/@bobby/bobby-workspace" style=3D"display=
|
||||
: inline-block; padding: 13px 24px; background-color: #020617; color: #f8fa=
|
||||
fc; text-decoration: none; border-radius: 8px; margin: 0 4px;">
|
||||
<a href=3D"http://test.com/@mrbobby/bobby-workspace" style=3D"displ=
|
||||
ay: inline-block; padding: 13px 24px; background-color: #020617; color: #f8=
|
||||
fafc; text-decoration: none; border-radius: 8px; margin: 0 4px;">
|
||||
View workspace
|
||||
</a>
|
||||
=20
|
||||
|
@ -12,13 +12,14 @@
|
||||
"actions": [
|
||||
{
|
||||
"label": "View workspace",
|
||||
"url": "http://test.com/@bobby/bobby-workspace"
|
||||
"url": "http://test.com/@mrbobby/bobby-workspace"
|
||||
}
|
||||
],
|
||||
"labels": {
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace": "bobby-workspace"
|
||||
"workspace": "bobby-workspace",
|
||||
"workspace_owner_username": "mrbobby"
|
||||
},
|
||||
"data": null,
|
||||
"targets": null
|
||||
|
@ -12,7 +12,7 @@
|
||||
"actions": [
|
||||
{
|
||||
"label": "View workspace",
|
||||
"url": "http://test.com/@bobby/bobby-workspace"
|
||||
"url": "http://test.com/@mrbobby/bobby-workspace"
|
||||
},
|
||||
{
|
||||
"label": "View template version",
|
||||
@ -24,7 +24,8 @@
|
||||
"organization": "bobby-organization",
|
||||
"template": "bobby-template",
|
||||
"version": "alpha",
|
||||
"workspace": "bobby-workspace"
|
||||
"workspace": "bobby-workspace",
|
||||
"workspace_owner_username": "mrbobby"
|
||||
},
|
||||
"data": null,
|
||||
"targets": null
|
||||
|
Reference in New Issue
Block a user