mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
77349: Add additional properties and update comment
This commit is contained in:
@@ -9,7 +9,7 @@ import { BrowseBySwitcherComponent as BaseComponent } from '../../../../../app/+
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component for determining what Browse-By component to use depending on the metadata (browse ID) provided
|
||||
*/
|
||||
export class BrowseBySwitcherComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -1,17 +1,21 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { CollectionPageComponent as BaseComponent} from '../../../../app/+collection-page/collection-page.component';
|
||||
import { fadeIn, fadeInOut } from '../../../../app/shared/animations/fade';
|
||||
|
||||
|
||||
/**
|
||||
* This component representing the `Forbidden` DSpace page.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-collection-page',
|
||||
// templateUrl: './collection-page.component.html',
|
||||
templateUrl: '../../../../app/+collection-page/collection-page.component.html',
|
||||
// styleUrls: ['./collection-page.component.scss']
|
||||
styleUrls: ['../../../../app/+collection-page/collection-page.component.scss']
|
||||
styleUrls: ['../../../../app/+collection-page/collection-page.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
animations: [
|
||||
fadeIn,
|
||||
fadeInOut
|
||||
]
|
||||
})
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component represents a detail page for a single collection
|
||||
*/
|
||||
export class CollectionPageComponent extends BaseComponent {}
|
||||
|
@@ -1,17 +1,18 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { CommunityPageComponent as BaseComponent} from '../../../../app/+community-page/community-page.component';
|
||||
import { fadeInOut } from '../../../../app/shared/animations/fade';
|
||||
|
||||
|
||||
/**
|
||||
* This component representing the `Forbidden` DSpace page.
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ds-community-page',
|
||||
// templateUrl: './community-page.component.html',
|
||||
templateUrl: '../../../../app/+community-page/community-page.component.html',
|
||||
// styleUrls: ['./community-page.component.scss']
|
||||
styleUrls: ['../../../../app/+community-page/community-page.component.scss']
|
||||
styleUrls: ['../../../../app/+community-page/community-page.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
animations: [fadeInOut]
|
||||
})
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component represents a detail page for a single community
|
||||
*/
|
||||
export class CommunityPageComponent extends BaseComponent {}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { ObjectNotFoundComponent as BaseComponent } from '../../../../../app/+lookup-by-id/objectnotfound/objectnotfound.component';
|
||||
|
||||
@Component({
|
||||
@@ -6,11 +6,12 @@ import { ObjectNotFoundComponent as BaseComponent } from '../../../../../app/+lo
|
||||
// styleUrls: ['./objectnotfound.component.scss'],
|
||||
styleUrls: ['../../../../../app/+lookup-by-id/objectnotfound/objectnotfound.component.scss'],
|
||||
// templateUrl: './objectnotfound.component.html',
|
||||
templateUrl: '../../../../../app/+lookup-by-id/objectnotfound/objectnotfound.component.html'
|
||||
templateUrl: '../../../../../app/+lookup-by-id/objectnotfound/objectnotfound.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Default
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component representing the `PageNotFound` DSpace page.
|
||||
*/
|
||||
export class ObjectNotFoundComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -21,7 +21,7 @@ import { ConfigurationSearchPageComponent as BaseComponent } from '../../../../a
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component renders a search page using a configuration as input.
|
||||
*/
|
||||
export class ConfigurationSearchPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -9,7 +9,8 @@ import { SearchPageComponent as BaseComponent } from '../../../../app/+search-pa
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component represents the whole search page
|
||||
* It renders search results depending on the current search options
|
||||
*/
|
||||
export class SearchPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -9,7 +9,8 @@ import { CommunityListPageComponent as BaseComponent } from '../../../../app/com
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Page with title and the community list tree, as described in community-list.component;
|
||||
* navigated to with community-list.page.routing.module
|
||||
*/
|
||||
export class CommunityListPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -1,9 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ForbiddenComponent as BaseComponent } from '../../../../app/forbidden/forbidden.component';
|
||||
|
||||
/**
|
||||
* This component representing the `Forbidden` DSpace page.
|
||||
*/
|
||||
|
||||
@Component({
|
||||
selector: 'ds-forbidden',
|
||||
// templateUrl: './forbidden.component.html',
|
||||
@@ -12,6 +10,6 @@ import { ForbiddenComponent as BaseComponent } from '../../../../app/forbidden/f
|
||||
styleUrls: ['../../../../app/forbidden/forbidden.component.scss']
|
||||
})
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component representing the `Forbidden` DSpace page.
|
||||
*/
|
||||
export class ForbiddenComponent extends BaseComponent {}
|
||||
|
@@ -10,7 +10,7 @@ import { EndUserAgreementComponent as BaseComponent } from '../../../../../app/i
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component displaying the End User Agreement and an option to accept it
|
||||
*/
|
||||
export class EndUserAgreementComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -10,6 +10,6 @@ import { PrivacyComponent as BaseComponent } from '../../../../../app/info/priva
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component displaying the Privacy Statement
|
||||
*/
|
||||
export class PrivacyComponent extends BaseComponent {}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { PageNotFoundComponent as BaseComponent } from '../../../../app/pagenotfound/pagenotfound.component';
|
||||
|
||||
@Component({
|
||||
@@ -6,11 +6,12 @@ import { PageNotFoundComponent as BaseComponent } from '../../../../app/pagenotf
|
||||
// styleUrls: ['./pagenotfound.component.scss'],
|
||||
styleUrls: ['../../../../app/pagenotfound/pagenotfound.component.scss'],
|
||||
// templateUrl: './pagenotfound.component.html'
|
||||
templateUrl: '../../../../app/pagenotfound/pagenotfound.component.html'
|
||||
templateUrl: '../../../../app/pagenotfound/pagenotfound.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.Default
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* This component representing the `PageNotFound` DSpace page.
|
||||
*/
|
||||
export class PageNotFoundComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -10,7 +10,7 @@ import { CollectionStatisticsPageComponent as BaseComponent } from '../../../../
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component representing the statistics page for a collection.
|
||||
*/
|
||||
export class CollectionStatisticsPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -10,7 +10,7 @@ import { CommunityStatisticsPageComponent as BaseComponent } from '../../../../.
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component representing the statistics page for a community.
|
||||
*/
|
||||
export class CommunityStatisticsPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -10,7 +10,7 @@ import { ItemStatisticsPageComponent as BaseComponent } from '../../../../../app
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component representing the statistics page for an item.
|
||||
*/
|
||||
export class ItemStatisticsPageComponent extends BaseComponent {}
|
||||
|
||||
|
@@ -10,7 +10,7 @@ import { SiteStatisticsPageComponent as BaseComponent } from '../../../../../app
|
||||
})
|
||||
|
||||
/**
|
||||
* Component to render the news section on the home page
|
||||
* Component representing the site-wide statistics page.
|
||||
*/
|
||||
export class SiteStatisticsPageComponent extends BaseComponent {}
|
||||
|
||||
|
Reference in New Issue
Block a user