forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
based on dspace-7.6 tag and add yorkspace theme
- Loading branch information
1 parent
6affb06
commit b640937
Showing
50 changed files
with
961 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,86 @@ | ||
ui: | ||
ssl: false | ||
host: 0.0.0.0 | ||
port: 4000 | ||
# NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
nameSpace: / | ||
# The rateLimiter settings limit each IP to a 'max' of 500 requests per 'windowMs' (1 minute). | ||
rateLimiter: | ||
windowMs: 60000 # 1 minute | ||
max: 500 # limit each IP to 500 requests per windowMs | ||
# Trust X-FORWARDED-* headers from proxies (default = true) | ||
useProxies: true | ||
|
||
rest: | ||
ssl: true | ||
host: sandbox.dspace.org | ||
host: ys.library.yorku.ca | ||
port: 443 | ||
nameSpace: /server | ||
|
||
themes: | ||
- name: yorkspace | ||
headTags: | ||
- tagName: link | ||
attributes: | ||
rel: icon | ||
href: https://www.yorku.ca/wp-content/themes/york2020/favicon.ico | ||
sizes: any | ||
- tagName: link | ||
attributes: | ||
rel: apple-touch-icon | ||
href: https://www.yorku.ca/wp-content/themes/york2020/apple-touch-icon.png | ||
|
||
languages: | ||
- code: en | ||
label: English | ||
active: true | ||
- code: fr | ||
label: Français | ||
active: true | ||
|
||
homePage: | ||
recentSubmissions: | ||
# The number of item showing in recent submission components | ||
pageSize: 5 | ||
# Sort record of recent submission | ||
sortField: 'dc.date.accessioned' | ||
topLevelCommunityList: | ||
# No. of communities to list per page on the home page | ||
# This will always round to the nearest number from the list of page sizes. e.g. if you set it to 7 it'll use 10 | ||
pageSize: 100 | ||
|
||
communityList: | ||
# No. of communities to list per expansion (show more) | ||
pageSize: 100 | ||
|
||
mediaViewer: | ||
image: false | ||
video: false | ||
|
||
info: | ||
# Whether the end user agreement is required before users may use the repository. | ||
# If enabled, the user will be required to accept the agreement before they can use the repository. | ||
# If disabled, the page will not exist and no agreement is required to use the repository | ||
enableEndUserAgreement: false | ||
# Whether the privacy statement should exist or not. | ||
enablePrivacyStatement: false | ||
|
||
cache: | ||
serverSide: | ||
botCache: | ||
max: 1000 | ||
timeToLive: 86400000 # 1 day | ||
allowStale: true | ||
anonymousCache: | ||
max: 1000 | ||
timeToLive: 30000 # 30 seconds | ||
allowStale: false | ||
|
||
item: | ||
showAccessStatuses: true | ||
bitstream: | ||
pageSize: 20 | ||
|
||
markdown: | ||
enabled: true | ||
mathjax: 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
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
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,2 @@ | ||
.DS_Store | ||
assets/.DS_Store |
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,73 @@ | ||
diff --git a/app/menu.resolver.ts.txt b/app/menu.resolver.ts.txt | ||
index cad6a6e..1108f3d 100644 | ||
--- a/app/menu.resolver.ts.txt | ||
+++ b/app/menu.resolver.ts.txt | ||
@@ -93,6 +93,68 @@ export class MenuResolver implements Resolve<boolean> { | ||
*/ | ||
createPublicMenu$(): Observable<boolean> { | ||
const menuList: any[] = [ | ||
+ /* About YorkSpace tree */ | ||
+ { | ||
+ id: `about_yorkspace`, | ||
+ active: false, | ||
+ visible: true, | ||
+ model: { | ||
+ type: MenuItemType.TEXT, | ||
+ text: `menu.section.about`, | ||
+ } as TextMenuItemModel | ||
+ }, | ||
+ { | ||
+ id: `about_yorkspace_link_1`, | ||
+ parentID: 'about_yorkspace', | ||
+ active: false, | ||
+ visible: true, | ||
+ model: { | ||
+ type: MenuItemType.EXTERNAL, | ||
+ text: `menu.section.about_yorkspace`, | ||
+ href: `https://www.library.yorku.ca/web/collections/yorkspace/`, | ||
+ disabled: false, | ||
+ link: `https://www.library.yorku.ca/web/collections/yorkspace/` | ||
+ } as LinkMenuItemModel | ||
+ }, | ||
+ { | ||
+ id: `about_yorkspace_link_2`, | ||
+ parentID: 'about_yorkspace', | ||
+ active: false, | ||
+ visible: true, | ||
+ model: { | ||
+ type: MenuItemType.EXTERNAL, | ||
+ text: `menu.section.yorkspace_procedures`, | ||
+ href: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-procedures/`, | ||
+ disabled: false, | ||
+ link: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-procedures/` | ||
+ } as LinkMenuItemModel | ||
+ }, | ||
+ { | ||
+ id: `about_yorkspace_link_3`, | ||
+ parentID: 'about_yorkspace', | ||
+ active: false, | ||
+ visible: true, | ||
+ model: { | ||
+ type: MenuItemType.EXTERNAL, | ||
+ text: `menu.section.yorkspace_licence`, | ||
+ href: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-license/`, | ||
+ disabled: false, | ||
+ link: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-license/` | ||
+ } as LinkMenuItemModel | ||
+ }, | ||
+ { | ||
+ id: `about_yorkspace_link_4`, | ||
+ parentID: 'about_yorkspace', | ||
+ active: false, | ||
+ visible: true, | ||
+ model: { | ||
+ type: MenuItemType.EXTERNAL, | ||
+ text: `menu.section.yorkspace_help_resources`, | ||
+ href: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-help-resources/`, | ||
+ disabled: false, | ||
+ link: `https://www.library.yorku.ca/web/collections/yorkspace/yorkspace-help-resources/` | ||
+ } as LinkMenuItemModel | ||
+ }, | ||
/* Communities & Collections tree */ | ||
{ | ||
id: `browse_global_communities_and_collections`, |
3 changes: 3 additions & 0 deletions
3
src/themes/yorkspace/app/header-nav-wrapper/header-navbar-wrapper.component.html
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,3 @@ | ||
<div [ngClass]="{'open': !(isNavBarCollapsed | async)}"> | ||
<ds-themed-header></ds-themed-header> | ||
</div> |
Empty file.
Oops, something went wrong.