diff --git a/client/web/admin/src/components/Apigw/CRouteList.vue b/client/web/admin/src/components/Apigw/CRouteList.vue
index ac97be58b8..43e1e24407 100644
--- a/client/web/admin/src/components/Apigw/CRouteList.vue
+++ b/client/web/admin/src/components/Apigw/CRouteList.vue
@@ -35,7 +35,9 @@
}"
class="h-100"
+ clickable
@search="filterList"
+ @row-clicked="handleRowClicked"
>
{{ $t('permissions') }}
-
-
- {{ $t('yaml') }}
-
-
-
-
-
+
-
-
+
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+ {{ $t('delete') }}
+ {{ $t('undelete') }}
+
+
+
diff --git a/client/web/admin/src/components/CTheMainNav.vue b/client/web/admin/src/components/CTheMainNav.vue
index 23d651aecd..dd158e3a2b 100644
--- a/client/web/admin/src/components/CTheMainNav.vue
+++ b/client/web/admin/src/components/CTheMainNav.vue
@@ -22,6 +22,7 @@
+
diff --git a/client/web/admin/src/components/faIcons.js b/client/web/admin/src/components/faIcons.js
index 2fabce2cb1..9c37890424 100644
--- a/client/web/admin/src/components/faIcons.js
+++ b/client/web/admin/src/components/faIcons.js
@@ -47,6 +47,7 @@ import {
faQuestion,
faStamp,
faInfoCircle,
+ faEllipsisV,
} from '@fortawesome/free-solid-svg-icons'
import {
@@ -111,4 +112,5 @@ library.add(
faQuestion,
faStamp,
faInfoCircle,
+ faEllipsisV,
)
diff --git a/client/web/admin/src/mixins/listHelpers.js b/client/web/admin/src/mixins/listHelpers.js
index f95609b566..cd449a7750 100644
--- a/client/web/admin/src/mixins/listHelpers.js
+++ b/client/web/admin/src/mixins/listHelpers.js
@@ -197,5 +197,39 @@ export default {
genericRowClass (item) {
return { 'text-secondary': item && !!item.deletedAt }
},
+
+ handleRowClicked (item) {
+ this.$router.push({ name: this.editRoute, params: { [this.primaryKey]: item[this.primaryKey] } })
+ },
+
+ handleItemDelete ({ resource, resourceName, locale, api = 'system' }) {
+ this.incLoader()
+ const { deletedAt = '' } = resource
+ const method = deletedAt ? `${resourceName}Undelete` : `${resourceName}Delete`
+ const event = deletedAt ? 'undelete' : 'delete'
+ const toastLocale = locale || resourceName
+ const API = api === 'system' ? this.$SystemAPI : this.$AutomationAPI
+
+ API[method](resource)
+ .then(() => {
+ this.toastSuccess(this.$t(`notification:${toastLocale}.${event}.success`))
+ this.filterList()
+ })
+ .catch(this.toastErrorHandler(this.$t(`notification:${toastLocale}.${event}.error`)))
+ .finally(() => {
+ this.decLoader()
+ })
+ },
+
+ areActionsVisible ({ resource, conditions = [] }) {
+ const condition = conditions.some(c => {
+ if (!resource[c]) {
+ return false
+ }
+
+ return true
+ })
+ return condition
+ },
},
}
diff --git a/client/web/admin/src/views/Automation/Session/List.vue b/client/web/admin/src/views/Automation/Session/List.vue
index d6fb4a386d..ffd186dafa 100644
--- a/client/web/admin/src/views/Automation/Session/List.vue
+++ b/client/web/admin/src/views/Automation/Session/List.vue
@@ -26,10 +26,12 @@
resourceSingle: $t('general:label.session.single'),
resourcePlural: $t('general:label.session.plural')
}"
+ clickable
sticky-header
hide-search
hide-total
class="custom-resource-list-height-no-buttons"
+ @row-clicked="handleRowClicked"
>
@@ -172,10 +174,6 @@ export default {
sortable: true,
formatter: (v) => new Date(v).toLocaleString('en-EN'),
},
- {
- key: 'actions',
- tdClass: 'text-right',
- },
].map(c => ({
...c,
// Generate column label translation key
diff --git a/client/web/admin/src/views/Automation/Workflow/List.vue b/client/web/admin/src/views/Automation/Workflow/List.vue
index 40e27e4fb9..9ca470a982 100644
--- a/client/web/admin/src/views/Automation/Workflow/List.vue
+++ b/client/web/admin/src/views/Automation/Workflow/List.vue
@@ -60,9 +60,11 @@
resourceSingle: $t('general:label.workflow.single'),
resourcePlural: $t('general:label.workflow.plural')
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+
+
+
+
+
+
+
+ {{ $t('undelete') }}
+
+
+
+
@@ -150,7 +220,7 @@ export default {
},
{
key: 'actions',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -178,6 +248,14 @@ export default {
items () {
return this.procListResults(this.$AutomationAPI.workflowList(this.encodeListParams()))
},
+
+ handleDelete (workflow) {
+ this.handleItemDelete({
+ resource: workflow,
+ resourceName: 'workflow',
+ api: 'automation',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/Federation/Nodes/List.vue b/client/web/admin/src/views/Federation/Nodes/List.vue
index 2ca6982908..9dc5656604 100644
--- a/client/web/admin/src/views/Federation/Nodes/List.vue
+++ b/client/web/admin/src/views/Federation/Nodes/List.vue
@@ -40,34 +40,42 @@
prevPagination: $t('admin:general.pagination.prev'),
nextPagination: $t('admin:general.pagination.next'),
}"
+ clickable
sticky-header
hide-total
class="custom-resource-list-height"
+ @row-clicked="handleRowClicked"
@search="filterList"
>
-
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+ {{ $t('pair.confirm') }}
+
+
+
@@ -159,6 +167,7 @@
{{ $t(pair.node.email ? 'pair.status.confirmPending.description' : 'pair.status.confirmPending.descriptionNoMail', pair.node) }}
+
({
...c,
diff --git a/client/web/admin/src/views/System/Application/List.vue b/client/web/admin/src/views/System/Application/List.vue
index 4612e69cf0..6a0b99c22f 100644
--- a/client/web/admin/src/views/System/Application/List.vue
+++ b/client/web/admin/src/views/System/Application/List.vue
@@ -61,9 +61,11 @@
resourceSingle: $t('general:label.application.single'),
resourcePlural: $t('general:label.application.plural'),
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+ {{ $t('delete') }}
+ {{ $t('undelete') }}
+
+
+
@@ -150,7 +199,8 @@ export default {
},
{
key: 'actions',
- tdClass: 'text-right',
+ label: '',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -178,6 +228,17 @@ export default {
items () {
return this.procListResults(this.$SystemAPI.applicationList(this.encodeListParams()))
},
+
+ getAppInfo (item) {
+ return { applicationID: item[this.primaryKey], name: item.name }
+ },
+
+ handleDelete (application) {
+ this.handleItemDelete({
+ resource: application,
+ resourceName: 'application',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/System/AuthClient/Editor.vue b/client/web/admin/src/views/System/AuthClient/Editor.vue
index a2936f5e8a..ab9f3b6b46 100644
--- a/client/web/admin/src/views/System/AuthClient/Editor.vue
+++ b/client/web/admin/src/views/System/AuthClient/Editor.vue
@@ -191,8 +191,9 @@ export default {
}
},
- onDelete (clientID) {
+ onDelete () {
this.incLoader()
+ const clientID = this.authClientID
this.$SystemAPI.authClientDelete({ clientID })
.then(() => {
this.fetchAuthclient()
@@ -204,8 +205,9 @@ export default {
.finally(() => this.decLoader())
},
- onUndelete (clientID) {
+ onUndelete () {
this.incLoader()
+ const clientID = this.authClientID
this.$SystemAPI.authClientUndelete({ clientID })
.then(() => {
this.fetchAuthclient()
diff --git a/client/web/admin/src/views/System/AuthClient/List.vue b/client/web/admin/src/views/System/AuthClient/List.vue
index 8f989c3a44..78a86ca29f 100644
--- a/client/web/admin/src/views/System/AuthClient/List.vue
+++ b/client/web/admin/src/views/System/AuthClient/List.vue
@@ -49,10 +49,12 @@
resourceSingle: $t('general:label.auth_client.single'),
resourcePlural: $t('general:label.auth_client.plural'),
}"
+ clickable
sticky-header
hide-search
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+
+
+ {{ $t('undelete') }}
+
+
+
+
@@ -139,7 +193,7 @@ export default {
},
{
key: 'actions',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -167,6 +221,15 @@ export default {
items () {
return this.procListResults(this.$SystemAPI.authClientList(this.encodeListParams()))
},
+
+ handleDelete (authclient) {
+ this.handleItemDelete({
+ resource: { clientID: authclient.authClientID },
+ resourceName: 'authClient',
+ locale: 'authclient',
+ })
+ },
+
},
}
diff --git a/client/web/admin/src/views/System/Queue/Editor.vue b/client/web/admin/src/views/System/Queue/Editor.vue
index 59d926bf98..94845de6de 100644
--- a/client/web/admin/src/views/System/Queue/Editor.vue
+++ b/client/web/admin/src/views/System/Queue/Editor.vue
@@ -172,7 +172,7 @@ export default {
.then(() => {
this.fetchQueue()
this.toastSuccess(this.$t(`notification:queue.${event}.success`))
- this.$router.push({ name: 'system.queue' })
+ if (!deletedAt) this.$router.push({ name: 'system.queue' })
})
.catch(this.toastErrorHandler(this.$t(`notification:queue.${event}.error`)))
.finally(() => {
diff --git a/client/web/admin/src/views/System/Queue/List.vue b/client/web/admin/src/views/System/Queue/List.vue
index a2619dcc38..756f5bb5e5 100644
--- a/client/web/admin/src/views/System/Queue/List.vue
+++ b/client/web/admin/src/views/System/Queue/List.vue
@@ -52,9 +52,11 @@
resourceSingle: $t('general:label.queue.single'),
resourcePlural: $t('general:label.queue.plural'),
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+
+
+ {{ $t('undelete') }}
+
+
+
+
@@ -140,7 +172,7 @@ export default {
{
key: 'actions',
label: '',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -164,6 +196,14 @@ export default {
items () {
return this.procListResults(this.$SystemAPI.queuesList(this.encodeListParams()))
},
+
+ handleDelete (queue) {
+ this.handleItemDelete({
+ resource: queue,
+ resourceName: 'queues',
+ locale: 'queue',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/System/Role/List.vue b/client/web/admin/src/views/System/Role/List.vue
index d00c74bb3e..251ccf94c9 100644
--- a/client/web/admin/src/views/System/Role/List.vue
+++ b/client/web/admin/src/views/System/Role/List.vue
@@ -70,9 +70,11 @@
resourceSingle: $t('general:label.role.single'),
resourcePlural: $t('general:label.role.plural'),
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+ {{ $t('undelete') }}
+
+
+
@@ -168,8 +218,7 @@ export default {
},
{
key: 'actions',
- label: '',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -208,6 +257,13 @@ export default {
rowClass (item) {
return { 'text-secondary': item && (!!item.deletedAt || !!item.archivedAt) }
},
+
+ handleDelete (role) {
+ this.handleItemDelete({
+ resource: role,
+ resourceName: 'role',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/System/SensitivityLevel/List.vue b/client/web/admin/src/views/System/SensitivityLevel/List.vue
index adacb64062..d8432deb4e 100644
--- a/client/web/admin/src/views/System/SensitivityLevel/List.vue
+++ b/client/web/admin/src/views/System/SensitivityLevel/List.vue
@@ -38,9 +38,11 @@
resourceSingle: $t('general:label.sensitivity_level.single'),
resourcePlural: $t('general:label.sensitivity_level.plural'),
}"
+ clickable
sticky-header
hide-search
class="custom-resource-list-height"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+
+
+ {{ $t('undelete') }}
+
+
+
+
@@ -121,7 +157,7 @@ export default {
},
{
key: 'actions',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -145,6 +181,14 @@ export default {
items () {
return this.procListResults(this.$SystemAPI.dalSensitivityLevelList(this.encodeListParams()))
},
+
+ handleDelete (sensitivityLevel) {
+ this.handleItemDelete({
+ resource: sensitivityLevel,
+ resourceName: 'dalSensitivityLevel',
+ locale: 'sensitivityLevel',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/System/Template/List.vue b/client/web/admin/src/views/System/Template/List.vue
index 54f3eaf105..3cd9c12537 100644
--- a/client/web/admin/src/views/System/Template/List.vue
+++ b/client/web/admin/src/views/System/Template/List.vue
@@ -70,9 +70,11 @@
resourceSingle: $t('general:label.template.single'),
resourcePlural: $t('general:label.template.plural'),
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+ {{ $t('delete') }}
+ {{ $t('undelete') }}
+
+
+
@@ -157,8 +206,7 @@ export default {
},
{
key: 'actions',
- label: '',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -186,6 +234,13 @@ export default {
items () {
return this.procListResults(this.$SystemAPI.templateList(this.encodeListParams()))
},
+
+ handleDelete (template) {
+ this.handleItemDelete({
+ resource: template,
+ resourceName: 'template',
+ })
+ },
},
}
diff --git a/client/web/admin/src/views/System/User/List.vue b/client/web/admin/src/views/System/User/List.vue
index d4452d5534..ede4f0a9f9 100644
--- a/client/web/admin/src/views/System/User/List.vue
+++ b/client/web/admin/src/views/System/User/List.vue
@@ -78,9 +78,11 @@
resourceSingle: $t('general:label.user.single'),
resourcePlural: $t('general:label.user.plural'),
}"
+ clickable
sticky-header
class="custom-resource-list-height"
@search="filterList"
+ @row-clicked="handleRowClicked"
>
-
-
+
-
-
+
+
+
+
+
+
+
+ {{ $t('permissions') }}
+
+
+
+
+
+
+
+ {{ $t('delete') }}
+
+ {{ $t('undelete') }}
+
+
+
@@ -185,8 +236,7 @@ export default {
},
{
key: 'actions',
- label: '',
- tdClass: 'text-right',
+ class: 'actions',
},
].map(c => ({
...c,
@@ -241,6 +291,13 @@ export default {
rowClass (item) {
return { 'text-secondary': item && (!!item.deletedAt || !!item.suspendedAt) }
},
+
+ handleDelete (user) {
+ this.handleItemDelete({
+ resource: user,
+ resourceName: 'user',
+ })
+ },
},
}
diff --git a/client/web/compose/src/components/Admin/Module/RelatedPages.vue b/client/web/compose/src/components/Admin/Module/RelatedPages.vue
index c164c40234..a238686aed 100644
--- a/client/web/compose/src/components/Admin/Module/RelatedPages.vue
+++ b/client/web/compose/src/components/Admin/Module/RelatedPages.vue
@@ -7,7 +7,7 @@
:size="size"
variant="primary"
:text="$t('related-pages')"
- boundary="viewport"
+ :boundary="boundary"
class="related-pages-dropdown"
>
@@ -84,6 +84,11 @@ export default {
type: String,
default: 'md',
},
+
+ boundary: {
+ type: String,
+ default: 'viewport',
+ },
},
data () {
diff --git a/client/web/compose/src/views/Admin/Charts/Edit.vue b/client/web/compose/src/views/Admin/Charts/Edit.vue
index 6ed9b2cdd0..d789c26243 100644
--- a/client/web/compose/src/views/Admin/Charts/Edit.vue
+++ b/client/web/compose/src/views/Admin/Charts/Edit.vue
@@ -669,7 +669,6 @@ export default {
}
.color-selector {
-
.vs__dropdown-menu {
min-width: 100%;
}
@@ -678,6 +677,7 @@ export default {
text-overflow: ellipsis;
overflow-x: hidden;
}
+
.vs__selected-options {
width: 0;
flex-wrap: nowrap;
diff --git a/client/web/compose/src/views/Admin/Charts/List.vue b/client/web/compose/src/views/Admin/Charts/List.vue
index a05f84f03b..3eadb6288f 100644
--- a/client/web/compose/src/views/Admin/Charts/List.vue
+++ b/client/web/compose/src/views/Admin/Charts/List.vue
@@ -93,17 +93,53 @@
-
-
+
+
+
+
+
-
+ >
+
+
+
+
+
+
+ {{ $t('chart.delete') }}
+
+
+
@@ -188,7 +224,7 @@ export default {
{
key: 'actions',
label: '',
- tdClass: 'text-right text-nowrap',
+ tdClass: 'text-right text-nowrap actions',
},
]
},
@@ -201,6 +237,7 @@ export default {
...mapActions({
createChart: 'chart/create',
+ deleteChart: 'chart/delete',
}),
create (subType) {
@@ -254,10 +291,17 @@ export default {
this.filterList()
this.toastSuccess(this.$t('notification:general.import.successful'))
},
+
+ handleDelete (chart) {
+ this.deleteChart(chart).then(() => {
+ this.toastSuccess(this.$t('notification:chart.deleted'))
+ this.filterList()
+ }).catch(this.toastErrorHandler(this.$t('notification:chart.deleteFailed')))
+ },
},
}
-
diff --git a/locale/en/corteza-webapp-admin/automation.workflows.yaml b/locale/en/corteza-webapp-admin/automation.workflows.yaml
index 2652de18e5..2dfebb51ff 100644
--- a/locale/en/corteza-webapp-admin/automation.workflows.yaml
+++ b/locale/en/corteza-webapp-admin/automation.workflows.yaml
@@ -32,6 +32,9 @@ list:
handle: Handle
name: Name
state: State
+ delete: Delete
+ undelete: Undelete
+
export: Export
rows:
filters:
diff --git a/locale/en/corteza-webapp-admin/system.apigw.yaml b/locale/en/corteza-webapp-admin/system.apigw.yaml
index e67657f85c..1f347f6d0e 100644
--- a/locale/en/corteza-webapp-admin/system.apigw.yaml
+++ b/locale/en/corteza-webapp-admin/system.apigw.yaml
@@ -23,6 +23,8 @@ list:
label: deleted routes
handle:
placeholder: Filter endpoints by path
+ delete: Delete
+ undelete: Undelete
columns:
endpoint: Endpoint
diff --git a/locale/en/corteza-webapp-admin/system.applications.yaml b/locale/en/corteza-webapp-admin/system.applications.yaml
index 7f75a1038e..2aa92b924e 100644
--- a/locale/en/corteza-webapp-admin/system.applications.yaml
+++ b/locale/en/corteza-webapp-admin/system.applications.yaml
@@ -63,3 +63,5 @@ list:
permissions: Permissions
title: Applications
yaml: YAML
+ delete: Delete
+ undelete: Undelete
diff --git a/locale/en/corteza-webapp-admin/system.authclients.yaml b/locale/en/corteza-webapp-admin/system.authclients.yaml
index 2321116059..15d9ff696f 100644
--- a/locale/en/corteza-webapp-admin/system.authclients.yaml
+++ b/locale/en/corteza-webapp-admin/system.authclients.yaml
@@ -95,3 +95,5 @@ list:
permissions: Permissions
title: Auth Clients
yaml: YAML
+ delete: Delete
+ undelete: Undelete
diff --git a/locale/en/corteza-webapp-admin/system.connections.yaml b/locale/en/corteza-webapp-admin/system.connections.yaml
index 9ccc4b0369..bed2dc4bdb 100644
--- a/locale/en/corteza-webapp-admin/system.connections.yaml
+++ b/locale/en/corteza-webapp-admin/system.connections.yaml
@@ -24,6 +24,9 @@ list:
location: Location
ownership: Ownership
createdAt: Created
+ actions: ''
+ delete: Delete
+ undelete: Undelete
editor:
title:
diff --git a/locale/en/corteza-webapp-admin/system.queues.yaml b/locale/en/corteza-webapp-admin/system.queues.yaml
index 9a7633c371..ec5b396b75 100644
--- a/locale/en/corteza-webapp-admin/system.queues.yaml
+++ b/locale/en/corteza-webapp-admin/system.queues.yaml
@@ -20,12 +20,14 @@ editor:
new: Add a queue
list:
columns:
- actions: Actions
+ actions: ''
consumer: Consumer
createdAt: Created At
state: State
queue: Queue
export: Export
+ delete: Delete
+ undelete: Undelete
rows:
filters:
deleted: Deleted
diff --git a/locale/en/corteza-webapp-admin/system.roles.yaml b/locale/en/corteza-webapp-admin/system.roles.yaml
index f7da3fcd1e..bbd6664fa6 100644
--- a/locale/en/corteza-webapp-admin/system.roles.yaml
+++ b/locale/en/corteza-webapp-admin/system.roles.yaml
@@ -41,6 +41,10 @@ list:
handle: Handle
name: Name
state: State
+ delete: Delete
+ undelete: Undelete
+ archive: Archive
+ unarchive: Unarchive
rows:
filters:
archived: Archived
diff --git a/locale/en/corteza-webapp-admin/system.sensitivityLevel.yaml b/locale/en/corteza-webapp-admin/system.sensitivityLevel.yaml
index 288f020d7d..252c184b9b 100644
--- a/locale/en/corteza-webapp-admin/system.sensitivityLevel.yaml
+++ b/locale/en/corteza-webapp-admin/system.sensitivityLevel.yaml
@@ -28,6 +28,8 @@ list:
level: Level
createdAt: Created
state: State
+ delete: Delete
+ undelete: Undelete
rows:
filters:
deleted: Deleted
diff --git a/locale/en/corteza-webapp-admin/system.templates.yaml b/locale/en/corteza-webapp-admin/system.templates.yaml
index 483023073f..e3f7130aec 100644
--- a/locale/en/corteza-webapp-admin/system.templates.yaml
+++ b/locale/en/corteza-webapp-admin/system.templates.yaml
@@ -52,6 +52,8 @@ list:
meta:
short: Short name
state: State
+ delete: Delete
+ undelete: Undelete
export: Export
rows:
filters:
diff --git a/locale/en/corteza-webapp-admin/system.users.yaml b/locale/en/corteza-webapp-admin/system.users.yaml
index ac91171788..78ac121be6 100644
--- a/locale/en/corteza-webapp-admin/system.users.yaml
+++ b/locale/en/corteza-webapp-admin/system.users.yaml
@@ -81,6 +81,11 @@ list:
handle: Handle
name: Name
state: State
+ suspend: Suspend
+ unsuspend: Unsuspend
+ delete: Delete
+ undelete: Undelete
+ revokeActiveSession: Revoke Session
export: Export
rows:
filters:
diff --git a/locale/en/corteza-webapp-compose/block.yaml b/locale/en/corteza-webapp-compose/block.yaml
index 5a14b1ff5d..71e201a9b4 100644
--- a/locale/en/corteza-webapp-compose/block.yaml
+++ b/locale/en/corteza-webapp-compose/block.yaml
@@ -112,6 +112,7 @@ chart:
year: YEAR
label: Chart
pick: Pick a chart
+ delete: Delete
preview:
chartId: Chart preview (ID {{0}})
searchPlaceholder: Type here to search all charts in this namespace
diff --git a/locale/en/corteza-webapp-compose/module.yaml b/locale/en/corteza-webapp-compose/module.yaml
index 5e7cc10c88..dce38d4004 100644
--- a/locale/en/corteza-webapp-compose/module.yaml
+++ b/locale/en/corteza-webapp-compose/module.yaml
@@ -218,6 +218,7 @@ list:
name: Name
handle: Handle
changedAt: Last change
+ delete: Delete
recordPage:
create: Create record page
diff --git a/locale/en/corteza-webapp-compose/namespace.yaml b/locale/en/corteza-webapp-compose/namespace.yaml
index 9e2327fed6..7390c92cc9 100644
--- a/locale/en/corteza-webapp-compose/namespace.yaml
+++ b/locale/en/corteza-webapp-compose/namespace.yaml
@@ -57,6 +57,7 @@ configure: Configure namespace
manage:
title: Manage namespaces
list-view: Back to namespace list
+ delete: Delete
disabled: Disabled
diff --git a/locale/en/corteza-webapp-compose/permissions.yaml b/locale/en/corteza-webapp-compose/permissions.yaml
index 896a3c6325..301b25c918 100644
--- a/locale/en/corteza-webapp-compose/permissions.yaml
+++ b/locale/en/corteza-webapp-compose/permissions.yaml
@@ -3,6 +3,7 @@ ui:
cancel: Cancel
set-for: Set permissions for {{target}}
loading: Loading permissions
+ label: Permissions
edit:
label: User roles
diff --git a/locale/en/corteza-webapp-reporter/list.yaml b/locale/en/corteza-webapp-reporter/list.yaml
index 1c8f0325d5..31c6ebd3e7 100644
--- a/locale/en/corteza-webapp-reporter/list.yaml
+++ b/locale/en/corteza-webapp-reporter/list.yaml
@@ -4,6 +4,7 @@ report:
edit: Edit
list: List of Reports
new: New Report
+ delete: Delete
searchPlaceholder: Type here to search reports
title: Reports
tooltip:
diff --git a/locale/en/corteza-webapp-reporter/permissions.yaml b/locale/en/corteza-webapp-reporter/permissions.yaml
index 35bd199946..33849dab28 100644
--- a/locale/en/corteza-webapp-reporter/permissions.yaml
+++ b/locale/en/corteza-webapp-reporter/permissions.yaml
@@ -3,6 +3,7 @@ ui:
cancel: Cancel
set-for: Set permissions for {{target}}
loading: Loading permissions
+ label: Permissions
edit:
label: User roles
diff --git a/locale/en/corteza-webapp-workflow/list.yaml b/locale/en/corteza-webapp-workflow/list.yaml
new file mode 100644
index 0000000000..a565c8c69c
--- /dev/null
+++ b/locale/en/corteza-webapp-workflow/list.yaml
@@ -0,0 +1,2 @@
+delete: Delete
+undelete: Undelete
\ No newline at end of file
diff --git a/locale/en/corteza-webapp-workflow/notification.yaml b/locale/en/corteza-webapp-workflow/notification.yaml
index b7155f1363..5a8777bc81 100644
--- a/locale/en/corteza-webapp-workflow/notification.yaml
+++ b/locale/en/corteza-webapp-workflow/notification.yaml
@@ -1,7 +1,5 @@
'configure-triggers': Make sure all trigger steps are properly configured
'confirm-unsaved-changes': You have unsaved changes, are you sure you want to exit?
-'delete-failed': Failed to delete workflow
-'deleted-workflow': Workflow deleted
error: " - ERROR: "
'event-type-not-found': Event type not found
'event-type-fetch-failed': Failed to fetch event types
@@ -37,6 +35,9 @@ import:
'trigger-paths-changed': Trigger paths changed
'updated-workflow': Workflow updated
'workflow-test-completed': Workflow test completed
+delete:
+ success: Workflow deleted
+ failed: Failed to delete workflow
undelete:
success: Workflow restored
failed: Failed to restore workflow
\ No newline at end of file
diff --git a/locale/en/corteza-webapp-workflow/permissions.yaml b/locale/en/corteza-webapp-workflow/permissions.yaml
index fd0412a128..2ee53a7646 100644
--- a/locale/en/corteza-webapp-workflow/permissions.yaml
+++ b/locale/en/corteza-webapp-workflow/permissions.yaml
@@ -3,6 +3,7 @@ ui:
cancel: Cancel
set-for: Set permissions for {{target}}
loading: Loading permissions
+ label: Permissions
edit:
label: User roles