mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge branch 'w2p-88300_issue-1379-7.0' into w2p-88300_issue-1379
This commit is contained in:
@@ -24,7 +24,13 @@
|
||||
<section class="comcol-page-browse-section">
|
||||
<div class="browse-by-metadata w-100">
|
||||
<ds-browse-by *ngIf="startsWithOptions" class="col-xs-12 w-100"
|
||||
title="{{'browse.title' | translate:{collection: (parent$ | async)?.payload?.name || '', field: 'browse.metadata.' + browseId | translate, value: (value)? '"' + value + '"': ''} }}"
|
||||
title="{{'browse.title' | translate:
|
||||
{
|
||||
collection: (parent$ | async)?.payload?.name || '',
|
||||
field: 'browse.metadata.' + browseId | translate,
|
||||
startsWith: (startsWith)? ('browse.startsWith' | translate: { startsWith: '"' + startsWith + '"' }) : '',
|
||||
value: (value)? '"' + value + '"': ''
|
||||
} }}"
|
||||
parentname="{{(parent$ | async)?.payload?.name || ''}}"
|
||||
[objects$]="(items$ !== undefined)? items$ : browseEntries$"
|
||||
[paginationConfig]="(currentPagination$ |async)"
|
||||
|
@@ -17,6 +17,7 @@ import { StartsWithType } from '../../shared/starts-with/starts-with-decorator';
|
||||
import { BrowseByDataType, rendersBrowseBy } from '../browse-by-switcher/browse-by-decorator';
|
||||
import { PaginationService } from '../../core/pagination/pagination.service';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { RouteService } from '../../core/services/route.service';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-browse-by-metadata-page',
|
||||
|
223
src/assets/config.json
Normal file
223
src/assets/config.json
Normal file
@@ -0,0 +1,223 @@
|
||||
{
|
||||
"production": false,
|
||||
"debug": false,
|
||||
"ui": {
|
||||
"ssl": false,
|
||||
"host": "localhost",
|
||||
"port": 4000,
|
||||
"nameSpace": "/",
|
||||
"rateLimiter": {
|
||||
"windowMs": 60000,
|
||||
"max": 500
|
||||
},
|
||||
"baseUrl": "http://localhost:4000/"
|
||||
},
|
||||
"rest": {
|
||||
"ssl": true,
|
||||
"host": "api7.dspace.org",
|
||||
"port": 443,
|
||||
"nameSpace": "/server",
|
||||
"baseUrl": "https://api7.dspace.org/server"
|
||||
},
|
||||
"cache": {
|
||||
"msToLive": {
|
||||
"default": 900000
|
||||
},
|
||||
"control": "max-age=60",
|
||||
"autoSync": {
|
||||
"defaultTime": 0,
|
||||
"maxBufferSize": 100,
|
||||
"timePerMethod": {
|
||||
"PATCH": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"ui": {
|
||||
"timeUntilIdle": 900000,
|
||||
"idleGracePeriod": 300000
|
||||
},
|
||||
"rest": {
|
||||
"timeLeftBeforeTokenRefresh": 120000
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
"validatorMap": {
|
||||
"required": "required",
|
||||
"regex": "pattern"
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
"rtl": false,
|
||||
"position": [
|
||||
"top",
|
||||
"right"
|
||||
],
|
||||
"maxStack": 8,
|
||||
"timeOut": 5000,
|
||||
"clickToClose": true,
|
||||
"animate": "scale"
|
||||
},
|
||||
"submission": {
|
||||
"autosave": {
|
||||
"metadata": [],
|
||||
"timer": 0
|
||||
},
|
||||
"icons": {
|
||||
"metadata": [
|
||||
{
|
||||
"name": "dc.author",
|
||||
"style": "fas fa-user"
|
||||
},
|
||||
{
|
||||
"name": "default",
|
||||
"style": ""
|
||||
}
|
||||
],
|
||||
"authority": {
|
||||
"confidence": [
|
||||
{
|
||||
"value": 600,
|
||||
"style": "text-success"
|
||||
},
|
||||
{
|
||||
"value": 500,
|
||||
"style": "text-info"
|
||||
},
|
||||
{
|
||||
"value": 400,
|
||||
"style": "text-warning"
|
||||
},
|
||||
{
|
||||
"value": "default",
|
||||
"style": "text-muted"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultLanguage": "en",
|
||||
"languages": [
|
||||
{
|
||||
"code": "en",
|
||||
"label": "English",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "cs",
|
||||
"label": "Čeština",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "de",
|
||||
"label": "Deutsch",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "es",
|
||||
"label": "Español",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "fr",
|
||||
"label": "Français",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "gd",
|
||||
"label": "Gàidhlig",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "lv",
|
||||
"label": "Latviešu",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "hu",
|
||||
"label": "Magyar",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "nl",
|
||||
"label": "Nederlands",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "pt-PT",
|
||||
"label": "Português",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "pt-BR",
|
||||
"label": "Português do Brasil",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "fi",
|
||||
"label": "Suomi",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
"code": "bn",
|
||||
"label": "বাংলা",
|
||||
"active": true
|
||||
}
|
||||
],
|
||||
"browseBy": {
|
||||
"oneYearLimit": 10,
|
||||
"fiveYearLimit": 30,
|
||||
"defaultLowerLimit": 1900
|
||||
},
|
||||
"item": {
|
||||
"edit": {
|
||||
"undoTimeout": 10000
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"edit": {
|
||||
"undoTimeout": 10000
|
||||
}
|
||||
},
|
||||
"themes": [
|
||||
{
|
||||
"name": "dspace",
|
||||
"headTags": [
|
||||
{
|
||||
"tagName": "link",
|
||||
"attributes": {
|
||||
"rel": "icon",
|
||||
"href": "assets/dspace/images/favicons/favicon.ico",
|
||||
"sizes": "any"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tagName": "link",
|
||||
"attributes": {
|
||||
"rel": "icon",
|
||||
"href": "assets/dspace/images/favicons/favicon.svg",
|
||||
"type": "image/svg+xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tagName": "link",
|
||||
"attributes": {
|
||||
"rel": "apple-touch-icon",
|
||||
"href": "assets/dspace/images/favicons/apple-touch-icon.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tagName": "link",
|
||||
"attributes": {
|
||||
"rel": "manifest",
|
||||
"href": "assets/dspace/images/favicons/manifest.webmanifest"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mediaViewer": {
|
||||
"image": false,
|
||||
"video": false
|
||||
}
|
||||
}
|
@@ -686,13 +686,15 @@
|
||||
|
||||
"pagination.next.button.disabled.tooltip": "No more pages of results",
|
||||
|
||||
"browse.startsWith": ", starting with {{ startsWith }}",
|
||||
|
||||
"browse.startsWith.choose_start": "(Choose start)",
|
||||
|
||||
"browse.startsWith.choose_year": "(Choose year)",
|
||||
|
||||
"browse.startsWith.choose_year.label": "Choose the issue year",
|
||||
|
||||
"browse.startsWith.jump": "Jump to a point in the index:",
|
||||
"browse.startsWith.jump": "Filter results by year or month",
|
||||
|
||||
"browse.startsWith.months.april": "April",
|
||||
|
||||
@@ -724,13 +726,13 @@
|
||||
|
||||
"browse.startsWith.submit": "Browse",
|
||||
|
||||
"browse.startsWith.type_date": "Or type in a date (year-month) and click 'Browse'",
|
||||
"browse.startsWith.type_date": "Filter results by date",
|
||||
|
||||
"browse.startsWith.type_date.label": "Or type in a date (year-month) and click on the Browse button",
|
||||
|
||||
"browse.startsWith.type_text": "Filter results by typing the first few letters",
|
||||
|
||||
"browse.title": "Browsing {{ collection }} by {{ field }} {{ value }}",
|
||||
"browse.title": "Browsing {{ collection }} by {{ field }}{{ startsWith }} {{ value }}",
|
||||
|
||||
|
||||
"chips.remove": "Remove chip",
|
||||
|
Reference in New Issue
Block a user