Merge branch 'main' into collection-thumbnail-embed

This commit is contained in:
Michael Spalti
2022-09-20 11:25:00 -07:00
23 changed files with 10321 additions and 88 deletions

View File

@@ -17,7 +17,9 @@ import { UIServerConfig } from './ui-server-config.interface';
import { BundleConfig } from './bundle-config.interface';
import { ActuatorsConfig } from './actuators.config';
import { InfoConfig } from './info-config.interface';
import { CommunityListConfig } from './community-list-config.interface';
import { HomeConfig } from './homepage-config.interface';
export class DefaultAppConfig implements AppConfig {
production = false;
@@ -195,7 +197,9 @@ export class DefaultAppConfig implements AppConfig {
{ code: 'fi', label: 'Suomi', active: true },
{ code: 'sv', label: 'Svenska', active: true },
{ code: 'tr', label: 'Türkçe', active: true },
{ code: 'bn', label: 'বাংলা', active: true }
{ code: 'kk', label: 'Қазақ', active: true },
{ code: 'bn', label: 'বাংলা', active: true },
{ code: 'el', label: 'Ελληνικά', active: true }
];
// Browse-By Pages
@@ -210,6 +214,22 @@ export class DefaultAppConfig implements AppConfig {
showThumbnails: true
};
communityList: CommunityListConfig = {
pageSize: 20
};
homePage: HomeConfig = {
recentSubmissions: {
//The number of item showing in recent submission components
pageSize: 5,
//sort record of recent submission
sortField: 'dc.date.accessioned',
},
topLevelCommunityList: {
pageSize: 5
}
};
// Item Config
item: ItemConfig = {
edit: {
@@ -340,13 +360,4 @@ export class DefaultAppConfig implements AppConfig {
enableEndUserAgreement: true,
enablePrivacyStatement: true
};
// Home Pages
homePage: HomeConfig = {
recentSubmissions: {
//The number of item showing in recent submission components
pageSize: 5,
//sort record of recent submission
sortField: 'dc.date.accessioned',
}
};
}