Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
"input": "src/themes/szerep/styles/theme.scss",
"inject": false,
"bundleName": "szerep-theme"
},
{
"input": "src/themes/pte/styles/theme.scss",
"inject": false,
"bundleName": "pte-theme"
}
],
"scripts": [],
Expand Down
3 changes: 2 additions & 1 deletion config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ rest:
nameSpace: /server

themes:
- name: qulto
- name: pte
extends: qulto
headTags:
- tagName: link
attributes:
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5612,7 +5612,7 @@

"thumbnail.person.placeholder": "No Profile Picture Available",

title: "DSpace",

Check failure on line 5615 in src/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Unquoted property 'title' found

Check failure on line 5615 in src/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Unquoted property 'title' found

Check failure on line 5615 in src/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Unquoted property 'title' found

Check failure on line 5615 in src/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Unquoted property 'title' found

"vocabulary-treeview.header": "Hierarchical tree view",

Expand Down Expand Up @@ -6909,4 +6909,4 @@
"qulto.home.welcome.description": "{{ dspaceName }} is a digital storage for electronic documents, designed for archiving and making documents accessible.",

"qulto.home.welcome.functions": "Its purpose is to provide researchers, educators, and interested parties with easy access to scientific and professional materials, promoting the free flow of knowledge and the wider dissemination of the work of the academic community.",
}
}
2 changes: 1 addition & 1 deletion src/assets/i18n/hu.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6851,4 +6851,4 @@
"qulto.home.welcome.description": "A {{ dspaceName }} elektronikus dokumentumok digitális tárhelye, archiválásra és a dokumentumok hozzáférhetővé tételére szolgál.",

"qulto.home.welcome.functions": "Célja, hogy biztosítsa a kutatók, oktatók és érdeklődők számára a tudományos és szakmai anyagok könnyű elérhetőségét, elősegítve a tudás szabad áramlását és a tudományos közösség munkájának szélesebb körű terjesztését.",
}
}
3 changes: 2 additions & 1 deletion src/themes/eager-themes.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { NgModule } from '@angular/core';

Check failure on line 1 in src/themes/eager-themes.module.ts

View workflow job for this annotation

GitHub Actions / tests (18.x)

Run autofix to sort these imports!

Check failure on line 1 in src/themes/eager-themes.module.ts

View workflow job for this annotation

GitHub Actions / tests (20.x)

Run autofix to sort these imports!

Check failure on line 1 in src/themes/eager-themes.module.ts

View workflow job for this annotation

GitHub Actions / tests (18.x)

Run autofix to sort these imports!

Check failure on line 1 in src/themes/eager-themes.module.ts

View workflow job for this annotation

GitHub Actions / tests (20.x)

Run autofix to sort these imports!

import { EagerThemeModule as QultoEagerThemeModule } from './qulto/eager-theme.module';
import { EagerThemeModule as SzerepEagerThemeModule } from './szerep/eager-theme.module';
import { EagerThemeModule as PteEagerThemeModule } from './pte/eager-theme.module';


/**
Expand All @@ -12,7 +13,7 @@
* Themes that aren't in use should not be imported here so they don't take up unnecessary space in the main bundle.
*/
@NgModule({
imports: [SzerepEagerThemeModule, QultoEagerThemeModule],
imports: [SzerepEagerThemeModule, QultoEagerThemeModule, PteEagerThemeModule],
})
export class EagerThemesModule {
}
30 changes: 30 additions & 0 deletions src/themes/pte/eager-theme.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { RootModule } from '../../app/root.module';

/**
* Add components that use a custom decorator to ENTRY_COMPONENTS as well as DECLARATIONS.
* This will ensure that decorator gets picked up when the app loads
*/

const DECLARATIONS = [];

@NgModule({
imports: [
CommonModule,
RootModule,
...DECLARATIONS,
],
})
/**
* This module is included in the main bundle that gets downloaded at first page load. So it should
* contain only the themed components that have to be available immediately for the first page load,
* and the minimal set of imports required to make them work. Anything you can cut from it will make
* the initial page load faster, but may cause the page to flicker as components that were already
* rendered server side need to be lazy-loaded again client side
*
* Themed EntryComponents should also be added here
*/
export class EagerThemeModule {
}
58 changes: 58 additions & 0 deletions src/themes/pte/lazy-theme.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import { DragDropModule } from '@angular/cdk/drag-drop';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { NgxGalleryModule } from '@kolkov/ngx-gallery';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { StoreRouterConnectingModule } from '@ngrx/router-store';
import { StoreModule } from '@ngrx/store';
import { TranslateModule } from '@ngx-translate/core';
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';

import { RootModule } from '../../app/root.module';
import { AdminSidebarComponent } from '../qulto/app/admin/admin-sidebar/admin-sidebar.component';
import { HomePageComponent } from '../qulto/app/home-page/home-page.component';
import { FullItemPageComponent } from '../qulto/app/item-page/full/full-item-page.component';
import { LoginPageComponent } from '../qulto/app/login-page/login-page.component';
import { AuthNavMenuComponent } from '../qulto/app/shared/auth-nav-menu/auth-nav-menu.component';
import { ObjectListComponent } from '../qulto/app/shared/object-list/object-list.component';

const DECLARATIONS = [
HomePageComponent,
LoginPageComponent,
AdminSidebarComponent,
ObjectListComponent,
AuthNavMenuComponent,
FullItemPageComponent,
];

@NgModule({
imports: [
RootModule,
CommonModule,
DragDropModule,
FormsModule,
HttpClientModule,
NgbModule,
RouterModule,
ScrollToModule,
StoreModule,
StoreRouterConnectingModule,
TranslateModule,
FormsModule,
NgxGalleryModule,
...DECLARATIONS,
],
})

/**
* This module serves as an index for all the components in this theme.
* It should import all other modules, so the compiler knows where to find any components referenced
* from a component in this theme
* It is purposefully not exported, it should never be imported anywhere else, its only purpose is
* to give lazily loaded components a context in which they can be compiled successfully
*/
class LazyThemeModule {
}
Empty file.
Empty file.
Empty file.
12 changes: 12 additions & 0 deletions src/themes/pte/styles/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// This file combines the other scss files in to one. You usually shouldn't edit this file directly

@import './_theme_sass_variable_overrides.scss';
@import '../../../styles/_variables.scss';
@import '../../../styles/_mixins.scss';
@import '../../../styles/helpers/font_awesome_imports.scss';
@import '../../../styles/_vendor.scss';
@import '../../../styles/_custom_variables.scss';
@import './_theme_css_variable_overrides.scss';
@import '../../../styles/bootstrap_variables_mapping.scss';
@import '../../../styles/_truncatable-part.component.scss';
@import './_global-styles.scss';
56 changes: 56 additions & 0 deletions src/themes/qulto/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,60 @@
"qulto.home.welcome.description": "{{ dspaceName }} is a digital storage for electronic documents, designed for archiving and making documents accessible.",

"qulto.home.welcome.functions": "Its purpose is to provide researchers, educators, and interested parties with easy access to scientific and professional materials, promoting the free flow of knowledge and the wider dissemination of the work of the academic community.",

"dc.title.subtitle": "Subtitle",

"dc.title.other": "Other title",

"dc.title": "Title",

"dc.contributor.author": "Author",

"dc.contributor.advisor": "Advisor",

"dc.contributor.description": "Description",

"dc.contributor.extadvisor": "Extadvisor",

"dc.contributor.faculty": "Faculty",

"dc.contributor.inst": "Department",

"dc.contributor.org": "Institution",

"dc.contributor.workplace": "Foreign consular workplace",

"dc.date.accessioned": "Last access date",

"dc.date.available": "Availability date",

"dc.date.catalog": "Catalog date",

"dc.date.issued": "Date issued",

"dc.date.recordid": "Record id",

"dc.description.type": "Level",

"dc.identifier.uri": "URI",

"dc.language.iso": "Language",

"dc.rights.access": "Access",

"dc.subject": "Subject",

"dc.type": "Document type",

"dc.format.extent": "Extent",

"dc.identifier.doi": "DOI",

"dc.contributor.doctschool": "Doctoral school",

"dc.description.appendix": "Appendix",

"status.badge.limited": "Limited access",

"status.badge.public": "Free access"

Check failure on line 62 in src/themes/qulto/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Missing trailing comma

Check failure on line 62 in src/themes/qulto/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Missing trailing comma

Check failure on line 62 in src/themes/qulto/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Missing trailing comma

Check failure on line 62 in src/themes/qulto/assets/i18n/en.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Missing trailing comma
}
60 changes: 60 additions & 0 deletions src/themes/qulto/assets/i18n/hu.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,64 @@
"qulto.home.welcome.description": "A {{ dspaceName }} elektronikus dokumentumok digitális tárhelye, archiválásra és a dokumentumok hozzáférhetővé tételére szolgál.",

"qulto.home.welcome.functions": "Célja, hogy biztosítsa a kutatók, oktatók és érdeklődők számára a tudományos és szakmai anyagok könnyű elérhetőségét, elősegítve a tudás szabad áramlását és a tudományos közösség munkájának szélesebb körű terjesztését.",

"dc.title.subtitle": "Alcím",

"dc.title.other": "Egyéb cím",

"dc.title": "Cím",

"dc.contributor.author": "Szerző",

"dc.contributor.advisor": "Konzulens/Témavezető",

"dc.contributor.description": "Leírás",

"dc.contributor.extadvisor": "Külső konzulens",

"dc.contributor.faculty": "Kar",

"dc.contributor.inst": "Tanszék",

"dc.contributor.org": "Intézmény",

"dc.contributor.workplace": "Külső konzules munkahelye",

"dc.date.accessioned": "Utolsó hozzáférés ideje",

"dc.date.available": "Elérhetőség dátuma",

"dc.date.catalog": "Állományba vétel",

"dc.date.issued": "Megjelenés éve",

"dc.date.recordid": "Főnaplószám",

"dc.description.type": "Képzési szint",

"dc.identifier.uri": "URI",

"dc.language.iso": "Nyelv",

"dc.rights.access": "Hozzáférés",

"dc.subject": "Tárgyszó",

"dc.type": "Dokumentumtípus",

"dc.title": "Cím",

"dc.title.other": "Egyéb cím",

"dc.format.extent": "Terjedelem",

"dc.identifier.doi": "DOI",

"dc.contributor.doctschool": "Doktori iskola",

"dc.description.appendix": "Melléklet",

"status.badge.limited": "Korlátozottan hozzáférhető",

"status.badge.public": "Szabadon hozzáférhető"

Check failure on line 66 in src/themes/qulto/assets/i18n/hu.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Missing trailing comma

Check failure on line 66 in src/themes/qulto/assets/i18n/hu.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Missing trailing comma

Check failure on line 66 in src/themes/qulto/assets/i18n/hu.json5

View workflow job for this annotation

GitHub Actions / tests (18.x)

Missing trailing comma

Check failure on line 66 in src/themes/qulto/assets/i18n/hu.json5

View workflow job for this annotation

GitHub Actions / tests (20.x)

Missing trailing comma
}
Loading