From 2d6b6c95710c247047b3de0aea649278c38c367f Mon Sep 17 00:00:00 2001 From: loganhz Date: Tue, 20 Aug 2019 23:37:23 +0800 Subject: [PATCH] Support annotations and labels for project --- app/components/new-edit-project/template.hbs | 9 +++++++++ translations/en-us.yaml | 1 + 2 files changed, 10 insertions(+) diff --git a/app/components/new-edit-project/template.hbs b/app/components/new-edit-project/template.hbs index 28d91a245..6e975a794 100644 --- a/app/components/new-edit-project/template.hbs +++ b/app/components/new-edit-project/template.hbs @@ -90,6 +90,15 @@ changed=(action "updateContainerDefault") }} {{/accordion-list-item}} + + {{form-labels-annotations + classNames="accordion-wrapper" + detailKey="projectsPage.annotationsDetail" + expandAll=al.expandAll + expandFn=expandFn + initialLabels=primaryResource.labels + model=primaryResource + }} {{/accordion-list}} diff --git a/translations/en-us.yaml b/translations/en-us.yaml index f4abc685f..2d01e0b26 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -829,6 +829,7 @@ projectsListNamespacePage: current: In this project projectsPage: + annotationsDetail: Configure labels and annotations for the project. header: Projects/Namespaces headerNS: Namespaces addProject: Add Project