1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

#380 added option to delete team from the console

This commit is contained in:
Eldad Fux 2020-06-07 11:09:05 +03:00
parent 2afb5776c0
commit 950a66f294

View file

@ -81,13 +81,15 @@
<form name="teams.delete" class="margin-bottom"
data-analytics-event="submit"
data-analytics-category="console"
data-analytics-label="Update User Status"
data-service="users.updateStatus"
data-analytics-label="Delete Team"
data-service="teams.delete"
data-event="submit"
data-confirm="Are you sure you want to delete this team?"
data-param-team-id="{{router.params.id}}"
data-success="alert,trigger"
data-success="alert,trigger,redirect"
data-success-param-alert-text="Team deleted successfully"
data-success-param-trigger-events="users.update"
data-success-param-redirect-url="/console/users/teams?project={{router.params.project}}"
data-failure="alert"
data-failure-param-alert-text="Failed to delete team"
data-failure-param-alert-classname="error">