-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a80aa69
commit 934ab42
Showing
10 changed files
with
44 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Injectable } from '@angular/core'; | ||
|
||
declare var APP_GLOBAL: any; | ||
|
||
@Injectable() | ||
|
||
export class AppSettings { | ||
|
||
public title = APP_GLOBAL.title; | ||
public logo = APP_GLOBAL.logo; | ||
public url = APP_GLOBAL.url; | ||
public joinedDoctypes = APP_GLOBAL.joinedDoctypes; | ||
public doctypes = APP_GLOBAL.doctypes; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
var APP_GLOBAL = { | ||
title: 'Moravská zemská knihovna', | ||
logo: 'http://registr.digitalniknihovna.cz/libraries/mzk/logo', | ||
url: 'https://kramerius.mzk.cz', | ||
ga: 'UA-65303593-14', | ||
joinedDoctypes: true, | ||
doctypes: ['monograph', 'periodical', 'map', 'graphic', 'archive', 'manuscript', 'soundrecording', 'sheetmusic'] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,3 @@ | ||
export const environment = { | ||
production: true, | ||
// MZK | ||
// title: 'Moravská zemská knihovna', | ||
// logo: 'http://registr.digitalniknihovna.cz/libraries/mzk/logo', | ||
// url: 'https://kramerius.mzk.cz', | ||
// solr: { | ||
// joinedDoctypes: true, | ||
// facetTruncate: true, | ||
// doctypes: ['monograph', 'periodical', 'map', 'graphic', 'archive', 'manuscript', 'soundrecording', 'sheetmusic'] | ||
// } | ||
|
||
// KNAV | ||
// title: 'Knihovna Akademie věd ČR', | ||
// logo: 'http://registr.digitalniknihovna.cz/libraries/knav/logo', | ||
// url: 'https://kramerius.lib.cas.cz', | ||
// solr: { | ||
// joinedDoctypes: false, | ||
// facetTruncate: true, | ||
// doctypes: ['monograph', 'periodical'] | ||
// } | ||
|
||
// NKP | ||
// title: 'Národní knihovna České republiky', | ||
// logo: 'http://registr.digitalniknihovna.cz/libraries/nkp/logo', | ||
// url: 'http://kramerius4.nkp.cz', | ||
// solr: { | ||
// joinedDoctypes: false, | ||
// facetTruncate: true, | ||
// doctypes: ['monograph', 'periodical', 'map', 'sheetmusic'] | ||
// } | ||
|
||
// MLP | ||
title: 'Městská knihovna v Praze', | ||
logo: 'http://registr.digitalniknihovna.cz/libraries/mlp/logo', | ||
url: 'http://kramerius4.mlp.cz', | ||
solr: { | ||
joinedDoctypes: true, | ||
facetTruncate: true, | ||
doctypes: ['monograph', 'periodical', 'soundrecording', 'sheetmusic'] | ||
} | ||
production: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters