diff --git a/projects/admin/src/app/record/brief-view/templates-brief-view.component.ts b/projects/admin/src/app/record/brief-view/templates-brief-view.component.ts index cfa818d41..3c65a00e1 100644 --- a/projects/admin/src/app/record/brief-view/templates-brief-view.component.ts +++ b/projects/admin/src/app/record/brief-view/templates-brief-view.component.ts @@ -19,16 +19,15 @@ import { Component, Input } from '@angular/core'; @Component({ selector: 'admin-templates-brief-view', template: ` -
+
{{ record.metadata.name }} @if (record.metadata.visibility === 'private') { - + }
-
-
` }) export class TemplatesBriefViewComponent { diff --git a/projects/admin/src/app/record/detail-view/template-detail-view/template-detail-view.component.html b/projects/admin/src/app/record/detail-view/template-detail-view/template-detail-view.component.html index 22f954dc9..2679a7839 100644 --- a/projects/admin/src/app/record/detail-view/template-detail-view/template-detail-view.component.html +++ b/projects/admin/src/app/record/detail-view/template-detail-view/template-detail-view.component.html @@ -15,41 +15,29 @@ along with this program. If not, see . --> @if (record) { -

+

{{ record.metadata.name }} @if (record.metadata.visibility && record.metadata.visibility === 'private') { }

-
+