Files
dspace-angular/src/themes/custom/app/shared/file-download-link/file-download-link.component.ts
Nicolas Boulay 5f83139fcd Adding the new embargo badge on the file download component
Fixed lint no-trailing-spaces
2025-03-25 10:55:21 -04:00

24 lines
1.0 KiB
TypeScript

import {
AsyncPipe,
NgClass,
NgTemplateOutlet,
} from '@angular/common';
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { FileDownloadLinkComponent as BaseComponent } from '../../../../../app/shared/file-download-link/file-download-link.component';
import { ThemedEmbargoBadgeComponent } from '../../../../../app/shared/object-collection/shared/badges/embargo-badge/themed-embargo-badge.component';
@Component({
selector: 'ds-themed-file-download-link',
// templateUrl: './file-download-link.component.html',
templateUrl: '../../../../../app/shared/file-download-link/file-download-link.component.html',
// styleUrls: ['./file-download-link.component.scss'],
styleUrls: ['../../../../../app/shared/file-download-link/file-download-link.component.scss'],
standalone: true,
imports: [RouterLink, NgClass, NgTemplateOutlet, AsyncPipe, TranslateModule, ThemedEmbargoBadgeComponent],
})
export class FileDownloadLinkComponent extends BaseComponent {
}