Skip to content

Commit

Permalink
Add optional collection home page and descriptive collection content
Browse files Browse the repository at this point in the history
fields

- Fixing failing build.

Sponsored-by: Auckland University of Technology, New Zealand
  • Loading branch information
alexklbuckley committed Aug 28, 2024
1 parent 4f816ad commit df8619e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export const collectionFormModels: DynamicFormControlModel[] = [
spellCheck: environment.form.spellCheck,
}),
new DynamicTextAreaModel({
id: 'customfooter',
name: 'collection.customfooter',
spellCheck: environment.form.spellCheck,
id: 'customfooter',
name: 'collection.customfooter',
spellCheck: environment.form.spellCheck,
}),
new DynamicTextAreaModel({
id: 'headertext',
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/shared/collection.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class Collection extends DSpaceObject implements ChildHALResource, Handle
return this.firstMetadataValue('dc.rights.license');
}

/**
/**
* The header text of this collection
* Corresponds to the metadata field collection.headertext
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import {
OnInit,
} from '@angular/core';
import { RouterLink } from '@angular/router';

import { Collection } from '../../../core/shared/collection.model';
import { ViewMode } from '../../../core/shared/view-mode.model';
import { listableObjectComponent } from '../../object-collection/shared/listable-object/listable-object.decorator';
import { AbstractListableElementComponent } from '../../object-collection/shared/object-collection-element/abstract-listable-element.component';
import {
APP_CONFIG,
AppConfig,
} from 'src/config/app-config.interface';

import { DSONameService } from '../../../core/breadcrumbs/dso-name.service';
import { Collection } from '../../../core/shared/collection.model';
import { ViewMode } from '../../../core/shared/view-mode.model';
import { listableObjectComponent } from '../../object-collection/shared/listable-object/listable-object.decorator';
import { AbstractListableElementComponent } from '../../object-collection/shared/object-collection-element/abstract-listable-element.component';

@Component({
selector: 'ds-collection-list-element',
Expand Down
4 changes: 2 additions & 2 deletions src/config/default-app-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ export class DefaultAppConfig implements AppConfig {
undoTimeout: 10000, // 10 seconds
},
routeThrough: {
collectionHomePage: false
}
collectionHomePage: false,
},
};

suggestion: SuggestionConfig[] = [
Expand Down
3 changes: 3 additions & 0 deletions src/environments/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ export const environment: BuildConfig = {
edit: {
undoTimeout: 10000, // 10 seconds
},
routeThrough: {
collectionHomePage: false,
},
},
themes: [
{
Expand Down

0 comments on commit df8619e

Please sign in to comment.