mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
28 lines
890 B
TypeScript
28 lines
890 B
TypeScript
import { Component } from '@angular/core';
|
|
import { ThemedComponent } from '../shared/theme-support/themed.component';
|
|
import { PageNotFoundComponent } from './pagenotfound.component';
|
|
|
|
@Component({
|
|
selector: 'ds-themed-search-page',
|
|
styleUrls: [],
|
|
templateUrl: '../shared/theme-support/themed.component.html',
|
|
})
|
|
/**
|
|
* This component represents the whole search page
|
|
* It renders search results depending on the current search options
|
|
*/
|
|
export class ThemedPageNotFoundComponent extends ThemedComponent<PageNotFoundComponent> {
|
|
|
|
protected getComponentName(): string {
|
|
return 'PageNotFoundComponent';
|
|
}
|
|
|
|
protected importThemedComponent(themeName: string): Promise<any> {
|
|
return import(`../../themes/${themeName}/app/pagenotfound/pagenotfound.component`);
|
|
}
|
|
|
|
protected importUnthemedComponent(): Promise<any> {
|
|
return import(`./pagenotfound.component`);
|
|
}
|
|
}
|