mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 03:53:02 +00:00
Merge remote-tracking branch 'upstream/main' into added-recently-added-section-to-community-page_contribute-main
# Conflicts: # config/config.example.yml # src/app/shared/search-form/search-form.component.ts # src/assets/i18n/en.json5 # src/config/default-app-config.ts
This commit is contained in:
@@ -12,8 +12,9 @@ import { MediaViewerConfig } from './media-viewer-config.interface';
|
||||
import { INotificationBoardOptions } from './notifications-config.interfaces';
|
||||
import { ServerConfig } from './server-config.interface';
|
||||
import { SubmissionConfig } from './submission-config.interface';
|
||||
import { ThemeConfig } from './theme.model';
|
||||
import { ThemeConfig } from './theme.config';
|
||||
import { UIServerConfig } from './ui-server-config.interface';
|
||||
import {SuggestionConfig} from './suggestion-config.interfaces';
|
||||
import { BundleConfig } from './bundle-config.interface';
|
||||
import { ActuatorsConfig } from './actuators.config';
|
||||
import { InfoConfig } from './info-config.interface';
|
||||
@@ -23,6 +24,7 @@ import { MarkdownConfig } from './markdown-config.interface';
|
||||
import { FilterVocabularyConfig } from './filter-vocabulary-config';
|
||||
import { DiscoverySortConfig } from './discovery-sort.config';
|
||||
import { CommunityPageConfig } from './community-page-config.interface';
|
||||
import {QualityAssuranceConfig} from './quality-assurance.config';
|
||||
|
||||
export class DefaultAppConfig implements AppConfig {
|
||||
production = false;
|
||||
@@ -230,6 +232,7 @@ export class DefaultAppConfig implements AppConfig {
|
||||
{ code: 'pl', label: 'Polski', active: true },
|
||||
{ code: 'pt-PT', label: 'Português', active: true },
|
||||
{ code: 'pt-BR', label: 'Português do Brasil', active: true },
|
||||
{ code: 'sr-lat', label: 'Srpski (lat)', active: true},
|
||||
{ code: 'fi', label: 'Suomi', active: true },
|
||||
{ code: 'sv', label: 'Svenska', active: true },
|
||||
{ code: 'tr', label: 'Türkçe', active: true },
|
||||
@@ -238,6 +241,7 @@ export class DefaultAppConfig implements AppConfig {
|
||||
{ code: 'bn', label: 'বাংলা', active: true },
|
||||
{ code: 'hi', label: 'हिंदी', active: true},
|
||||
{ code: 'el', label: 'Ελληνικά', active: true },
|
||||
{ code: 'sr-cyr', label: 'Српски', active: true},
|
||||
{ code: 'uk', label: 'Yкраї́нська', active: true}
|
||||
];
|
||||
|
||||
@@ -305,6 +309,17 @@ export class DefaultAppConfig implements AppConfig {
|
||||
}
|
||||
};
|
||||
|
||||
suggestion: SuggestionConfig[] = [
|
||||
// {
|
||||
// // Use this configuration to map a suggestion import to a specific collection based on the suggestion type.
|
||||
// source: 'suggestionSource',
|
||||
// collectionId: 'collectionUUID'
|
||||
// }
|
||||
// This is used as a default fallback in case there aren't collections where to import the suggestion
|
||||
// If not mapped the user will be allowed to import the suggestions only in the provided options, shown clicking the button "Approve and import"
|
||||
// If not mapped and no options available for import the user won't be able to import the suggestions.
|
||||
];
|
||||
|
||||
// Theme Config
|
||||
themes: ThemeConfig[] = [
|
||||
// Add additional themes here. In the case where multiple themes match a route, the first one
|
||||
@@ -443,4 +458,11 @@ export class DefaultAppConfig implements AppConfig {
|
||||
sortField:'dc.title',
|
||||
sortDirection:'ASC',
|
||||
};
|
||||
|
||||
qualityAssuranceConfig: QualityAssuranceConfig = {
|
||||
sourceUrlMapForProjectSearch: {
|
||||
openaire: 'https://explore.openaire.eu/search/project?projectId='
|
||||
},
|
||||
pageSize: 5,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user