+ @if (isComponentData() && componentsDataTyped()?.registrationSupplement) {
+
+ {{ 'project.registrations.card.registrationTemplate' | translate }}
+ {{ componentsDataTyped()!.registrationSupplement }}
+
+ }
+
+ @if (isComponentData() && componentsDataTyped()?.registry) {
+
+ {{ 'project.registrations.card.registry' | translate }}
+ {{ componentsDataTyped()!.registry }}
+
+ }
+
{{ 'project.registrations.card.registered' | translate }}
{{ registrationData().dateCreated | date: 'medium' }}
@@ -88,20 +102,18 @@
- @if (hasResources()) {
-
-
{{ 'shared.resources.title' | translate }}
-
-
- }
+
+
{{ 'shared.resources.title' | translate }}
+
+
}
diff --git a/src/app/features/registry/components/registration-links-card/registration-links-card.component.ts b/src/app/features/registry/components/registration-links-card/registration-links-card.component.ts
index 08159b8cd..bc6556254 100644
--- a/src/app/features/registry/components/registration-links-card/registration-links-card.component.ts
+++ b/src/app/features/registry/components/registration-links-card/registration-links-card.component.ts
@@ -6,7 +6,7 @@ import { Card } from 'primeng/card';
import { DatePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
-import { LinkedNode, LinkedRegistration } from '@osf/features/registry/models';
+import { LinkedNode, LinkedRegistration, RegistryComponentModel } from '@osf/features/registry/models';
import { DataResourcesComponent, TruncatedTextComponent } from '@shared/components';
import { RevisionReviewStates } from '@shared/enums';
@@ -18,7 +18,8 @@ import { RevisionReviewStates } from '@shared/enums';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class RegistrationLinksCardComponent {
- readonly registrationData = input.required