diff --git a/app/authenticated/project/certificates/index/template.hbs b/app/authenticated/project/certificates/index/template.hbs
index c1dc9c909..8041d2773 100644
--- a/app/authenticated/project/certificates/index/template.hbs
+++ b/app/authenticated/project/certificates/index/template.hbs
@@ -42,7 +42,7 @@
{{#if rows.length}}
{{#sortable-table
- classNames="grid fixed mb-0 sortable-table"
+ classNames="grid fixed mb-0 sortable-table"
body=rows
descending=descending
groupByKey=groupTableBy
@@ -53,16 +53,36 @@
as |sortable kind row|
}}
{{#if (eq kind "row")}}
- {{certificate-row model=row dt=dt}}
+ {{certificate-row
+ model=row
+ dt=dt
+ }}
{{else if (eq kind "group")}}
- {{namespace-group model=row.ref noGroup="namespaceGroup.project" fullColspan=sortable.fullColspan}}
+ {{namespace-group
+ model=row.ref
+ noGroup="namespaceGroup.project"
+ fullColspan=sortable.fullColspan
+ }}
{{else if (eq kind "nomatch")}}
- | {{t "certificatesPage.index.noMatch"}} |
+
+ |
+ {{t "certificatesPage.index.noMatch"}}
+ |
+
{{else if (eq kind "norows")}}
- | {{t "certificatesPage.index.noData"}} |
+
+ |
+ {{t "certificatesPage.index.noData"}}
+ |
+
{{/if}}
{{/sortable-table}}
{{else}}
- {{empty-table disabled=(rbac-prevents resource="certificate" scope="project" permission="create") resource="certificate" newRoute="authenticated.project.certificates.new" newTranslationKey="certificatesPage.index.linkTo"}}
+ {{empty-table
+ disabled=(rbac-prevents resource="certificate" scope="project" permission="create")
+ resource="certificate"
+ newRoute="authenticated.project.certificates.new"
+ newTranslationKey="certificatesPage.index.linkTo"
+ }}
{{/if}}
diff --git a/app/authenticated/project/registries/index/template.hbs b/app/authenticated/project/registries/index/template.hbs
index 27a6029c0..e649df7f1 100644
--- a/app/authenticated/project/registries/index/template.hbs
+++ b/app/authenticated/project/registries/index/template.hbs
@@ -49,18 +49,39 @@
groupByRef="namespace"
sortBy=sortBy
bulkActions=true
- headers=headers as |sortable kind row dt|}}
+ headers=headers as |sortable kind row dt|
+ }}
{{#if (eq kind "row")}}
- {{registry-row model=row dt=dt}}
+ {{registry-row
+ model=row
+ dt=dt
+ }}
{{else if (eq kind "group")}}
- {{namespace-group model=row.ref noGroup="namespaceGroup.project" fullColspan=sortable.fullColspan}}
+ {{namespace-group
+ model=row.ref
+ noGroup="namespaceGroup.project"
+ fullColspan=sortable.fullColspan
+ }}
{{else if (eq kind "nomatch")}}
-
| {{t "registriesPage.index.noMatch"}} |
+
+ |
+ {{t "registriesPage.index.noMatch"}}
+ |
+
{{else if (eq kind "norows")}}
- | {{t "registriesPage.index.noData"}} |
+
+ |
+ {{t "registriesPage.index.noData"}}
+ |
+
{{/if}}
{{/sortable-table}}
{{else}}
- {{empty-table disabled=(rbac-prevents resource="dockercredential" scope="project" permission="create") resource="container" newRoute="authenticated.project.registries.new" newTranslationKey="registriesPage.index.linkTo"}}
+ {{empty-table
+ disabled=(rbac-prevents resource="dockercredential" scope="project" permission="create")
+ resource="container"
+ newRoute="authenticated.project.registries.new"
+ newTranslationKey="registriesPage.index.linkTo"
+ }}
{{/if}}
diff --git a/app/authenticated/project/secrets/index/template.hbs b/app/authenticated/project/secrets/index/template.hbs
index 97b6ef559..75d0483f8 100644
--- a/app/authenticated/project/secrets/index/template.hbs
+++ b/app/authenticated/project/secrets/index/template.hbs
@@ -49,18 +49,39 @@
sortBy=sortBy
bulkActions=true
descending=descending
- headers=headers as |sortable kind row dt|}}
+ headers=headers as |sortable kind row dt|
+ }}
{{#if (eq kind "row")}}
- {{secret-row model=row dt=dt}}
+ {{secret-row
+ model=row
+ dt=dt
+ }}
{{else if (eq kind "group")}}
- {{namespace-group model=row.ref noGroup="namespaceGroup.project" fullColspan=sortable.fullColspan}}
+ {{namespace-group
+ model=row.ref
+ noGroup="namespaceGroup.project"
+ fullColspan=sortable.fullColspan
+ }}
{{else if (eq kind "nomatch")}}
- | {{t "secretsPage.index.noMatch"}} |
+
+ |
+ {{t "secretsPage.index.noMatch"}}
+ |
+
{{else if (eq kind "norows")}}
- | {{t "secretsPage.index.noData"}} |
+
+ |
+ {{t "secretsPage.index.noData"}}
+ |
+
{{/if}}
{{/sortable-table}}
{{else}}
- {{empty-table disabled=(rbac-prevents resource=resource scope="project" permission="create") resource="container" newRoute="authenticated.project.secrets.new" newTranslationKey="secretsPage.index.linkTo"}}
+ {{empty-table
+ disabled=(rbac-prevents resource=resource scope="project" permission="create")
+ resource="container"
+ newRoute="authenticated.project.secrets.new"
+ newTranslationKey="secretsPage.index.linkTo"
+ }}
{{/if}}