From edea940a9b53e36195b0fe8735f04e96a77de1e3 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 5 Nov 2020 11:55:41 -0500 Subject: [PATCH] fix: Update org deletion label:'Delete Project'>'Delete Org' --- ui/core/app/templates/scopes/scope/edit.hbs | 6 +++++- ui/core/translations/resources/en-us.yaml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/core/app/templates/scopes/scope/edit.hbs b/ui/core/app/templates/scopes/scope/edit.hbs index 610b3026e..b73a39a1f 100644 --- a/ui/core/app/templates/scopes/scope/edit.hbs +++ b/ui/core/app/templates/scopes/scope/edit.hbs @@ -43,7 +43,11 @@ @disabled={{@model.canSave}} {{on "click" (route-action "delete" @model)}} > - {{t 'resources.project.actions.delete'}} + {{#if @model.isOrg}} + {{t 'resources.org.actions.delete'}} + {{else}} + {{t 'resources.project.actions.delete'}} + {{/if}} diff --git a/ui/core/translations/resources/en-us.yaml b/ui/core/translations/resources/en-us.yaml index e24600300..bb9337871 100644 --- a/ui/core/translations/resources/en-us.yaml +++ b/ui/core/translations/resources/en-us.yaml @@ -118,6 +118,8 @@ org: title: Welcome to Orgs settings: title: Org Settings + actions: + delete: Delete Org project: title: Project title_plural: Projects