Skip to content

Commit

Permalink
Don't reflect theme in selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ybnd committed Mar 8, 2024
1 parent f2ab19b commit cdce0a6
Show file tree
Hide file tree
Showing 98 changed files with 98 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DynamicFormLayoutService, DynamicFormValidationService } from '@ng-dyna
import { DynamicCustomSwitchModel } from './custom-switch.model';

@Component({
selector: 'ds-custom-switch',
selector: 'ds-themed-switch',
styleUrls: ['./custom-switch.component.scss'],
templateUrl: './custom-switch.component.html',
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AdminSidebarComponent as BaseComponent } from '../../../../../app/admin
* Component representing the admin sidebar
*/
@Component({
selector: 'ds-custom-admin-sidebar',
selector: 'ds-themed-admin-sidebar',
// templateUrl: './admin-sidebar.component.html',
templateUrl: '../../../../../app/admin/admin-sidebar/admin-sidebar.component.html',
// styleUrls: ['./admin-sidebar.component.scss']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { EditBitstreamPageComponent as BaseComponent } from '../../../../../app/
import { ChangeDetectionStrategy, Component } from '@angular/core';

@Component({
selector: 'ds-custom-edit-bitstream-page',
selector: 'ds-themed-edit-bitstream-page',
// styleUrls: ['./edit-bitstream-page.component.scss'],
styleUrls: ['../../../../../app/bitstream-page/edit-bitstream-page/edit-bitstream-page.component.scss'],
// templateUrl: './edit-bitstream-page.component.html',
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/breadcrumbs/breadcrumbs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BreadcrumbsComponent as BaseComponent } from '../../../../app/breadcrum
* Component representing the breadcrumbs of a page
*/
@Component({
selector: 'ds-custom-breadcrumbs',
selector: 'ds-themed-breadcrumbs',
// templateUrl: './breadcrumbs.component.html',
templateUrl: '../../../../app/breadcrumbs/breadcrumbs.component.html',
// styleUrls: ['./breadcrumbs.component.scss']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { fadeIn, fadeInOut } from '../../../../app/shared/animations/fade';


@Component({
selector: 'ds-custom-collection-page',
selector: 'ds-themed-collection-page',
// templateUrl: './collection-page.component.html',
templateUrl: '../../../../app/collection-page/collection-page.component.html',
// styleUrls: ['./collection-page.component.scss']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../app/collection-page/edit-item-template-page/edit-item-template-page.component';

@Component({
selector: 'ds-custom-edit-item-template-page',
selector: 'ds-themed-edit-item-template-page',
styleUrls: ['./edit-item-template-page.component.scss'],
// templateUrl: './edit-item-template-page.component.html',
templateUrl: '../../../../../app/collection-page/edit-item-template-page/edit-item-template-page.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { CommunityListPageComponent as BaseComponent } from '../../../../app/community-list-page/community-list-page.component';

@Component({
selector: 'ds-custom-community-list-page',
selector: 'ds-themed-community-list-page',
// styleUrls: ['./community-list-page.component.scss'],
// templateUrl: './community-list-page.component.html'
templateUrl: '../../../../app/community-list-page/community-list-page.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { CommunityListComponent as BaseComponent } from '../../../../../app/comm
* Which nodes were expanded is kept in the store, so this persists across pages.
*/
@Component({
selector: 'ds-custom-community-list',
selector: 'ds-themed-community-list',
// styleUrls: ['./community-list.component.scss'],
// templateUrl: './community-list.component.html'
templateUrl: '../../../../../app/community-list-page/community-list/community-list.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { fadeInOut } from '../../../../app/shared/animations/fade';


@Component({
selector: 'ds-custom-community-page',
selector: 'ds-themed-community-page',
// templateUrl: './community-page.component.html',
templateUrl: '../../../../app/community-page/community-page.component.html',
// styleUrls: ['./community-page.component.scss']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { CommunityPageSubCollectionListComponent as BaseComponent } from '../../../../../../../app/community-page/sections/sub-com-col-section/sub-collection-list/community-page-sub-collection-list.component';

@Component({
selector: 'ds-custom-community-page-sub-collection-list',
selector: 'ds-themed-community-page-sub-collection-list',
// styleUrls: ['./community-page-sub-collection-list.component.scss'],
styleUrls: ['../../../../../app/community-page/sections/sub-com-col-section/sub-collection-list/community-page-sub-collection-list.component.scss'],
// templateUrl: './community-page-sub-collection-list.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { CommunityPageSubCommunityListComponent as BaseComponent } from '../../../../../../../app/community-page/sections/sub-com-col-section/sub-community-list/community-page-sub-community-list.component';

@Component({
selector: 'ds-custom-community-page-sub-community-list',
selector: 'ds-themed-community-page-sub-community-list',
// styleUrls: ['./community-page-sub-community-list.component.scss'],
styleUrls: ['../../../../../../../app/community-page/sections/sub-com-col-section/sub-community-list/community-page-sub-community-list.component.scss'],
// templateUrl: './community-page-sub-community-list.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DsoEditMetadataComponent as BaseComponent } from '../../../../../app/ds
import { Component } from '@angular/core';

@Component({
selector: 'ds-custom-dso-edit-metadata',
selector: 'ds-themed-dso-edit-metadata',
// styleUrls: ['./dso-edit-metadata.component.scss'],
styleUrls: ['../../../../../app/dso-shared/dso-edit-metadata/dso-edit-metadata.component.scss'],
// templateUrl: './dso-edit-metadata.component.html',
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/footer/footer.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { FooterComponent as BaseComponent } from '../../../../app/footer/footer.component';

@Component({
selector: 'ds-custom-footer',
selector: 'ds-themed-footer',
// styleUrls: ['./footer.component.scss'],
styleUrls: ['../../../../app/footer/footer.component.scss'],
// templateUrl: './footer.component.html'
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/forbidden/forbidden.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ForbiddenComponent as BaseComponent } from '../../../../app/forbidden/f


@Component({
selector: 'ds-custom-forbidden',
selector: 'ds-themed-forbidden',
// templateUrl: './forbidden.component.html',
templateUrl: '../../../../app/forbidden/forbidden.component.html',
// styleUrls: ['./forbidden.component.scss']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { ForgotEmailComponent as BaseComponent } from '../../../../../app/forgot-password/forgot-password-email/forgot-email.component';

@Component({
selector: 'ds-custom-forgot-email',
selector: 'ds-themed-forgot-email',
// styleUrls: ['./forgot-email.component.scss'],
styleUrls: ['../../../../../app/forgot-password/forgot-password-email/forgot-email.component.scss'],
// templateUrl: './forgot-email.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { ForgotPasswordFormComponent as BaseComponent } from '../../../../../app/forgot-password/forgot-password-form/forgot-password-form.component';

@Component({
selector: 'ds-custom-forgot-password-form',
selector: 'ds-themed-forgot-password-form',
// styleUrls: ['./forgot-password-form.component.scss'],
styleUrls: ['../../../../../app/forgot-password/forgot-password-form/forgot-password-form.component.scss'],
// templateUrl: './forgot-password-form.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { HeaderNavbarWrapperComponent as BaseComponent } from '../../../../app/h
* This component represents a wrapper for the horizontal navbar and the header
*/
@Component({
selector: 'ds-custom-header-navbar-wrapper',
selector: 'ds-themed-header-navbar-wrapper',
// styleUrls: ['./header-navbar-wrapper.component.scss'],
styleUrls: ['../../../../app/header-nav-wrapper/header-navbar-wrapper.component.scss'],
// templateUrl: './header-navbar-wrapper.component.html',
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { HeaderComponent as BaseComponent } from '../../../../app/header/header.
* Represents the header with the logo and simple navigation
*/
@Component({
selector: 'ds-custom-header',
selector: 'ds-themed-header',
// styleUrls: ['header.component.scss'],
styleUrls: ['../../../../app/header/header.component.scss'],
// templateUrl: 'header.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { HomeNewsComponent as BaseComponent } from '../../../../../app/home-page/home-news/home-news.component';

@Component({
selector: 'ds-custom-home-news',
selector: 'ds-themed-home-news',
// styleUrls: ['./home-news.component.scss'],
styleUrls: ['../../../../../app/home-page/home-news/home-news.component.scss'],
// templateUrl: './home-news.component.html'
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/home-page/home-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { HomePageComponent as BaseComponent } from '../../../../app/home-page/home-page.component';

@Component({
selector: 'ds-custom-home-page',
selector: 'ds-themed-home-page',
// styleUrls: ['./home-page.component.scss'],
styleUrls: ['../../../../app/home-page/home-page.component.scss'],
// templateUrl: './home-page.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { TopLevelCommunityListComponent as BaseComponent } from '../../../../../app/home-page/top-level-community-list/top-level-community-list.component';

@Component({
selector: 'ds-custom-top-level-community-list',
selector: 'ds-themed-top-level-community-list',
// styleUrls: ['./top-level-community-list.component.scss'],
styleUrls: ['../../../../../app/home-page/top-level-community-list/top-level-community-list.component.scss'],
// templateUrl: './top-level-community-list.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { EndUserAgreementComponent as BaseComponent } from '../../../../../app/info/end-user-agreement/end-user-agreement.component';

@Component({
selector: 'ds-custom-end-user-agreement',
selector: 'ds-themed-end-user-agreement',
// styleUrls: ['./end-user-agreement.component.scss'],
styleUrls: ['../../../../../app/info/end-user-agreement/end-user-agreement.component.scss'],
// templateUrl: './end-user-agreement.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../../app/info/feedback/feedback-form/feedback-form.component';

@Component({
selector: 'ds-custom-feedback-form',
selector: 'ds-themed-feedback-form',
// templateUrl: './feedback-form.component.html',
templateUrl: '../../../../../../app/info/feedback/feedback-form/feedback-form.component.html',
// styleUrls: ['./feedback-form.component.scss'],
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/info/feedback/feedback.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { FeedbackComponent as BaseComponent } from '../../../../../app/info/feedback/feedback.component';

@Component({
selector: 'ds-custom-feedback',
selector: 'ds-themed-feedback',
// styleUrls: ['./feedback.component.scss'],
styleUrls: ['../../../../../app/info/feedback/feedback.component.scss'],
// templateUrl: './feedback.component.html'
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/info/privacy/privacy.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { PrivacyComponent as BaseComponent } from '../../../../../app/info/privacy/privacy.component';

@Component({
selector: 'ds-custom-privacy',
selector: 'ds-themed-privacy',
// styleUrls: ['./privacy.component.scss'],
styleUrls: ['../../../../../app/info/privacy/privacy.component.scss'],
// templateUrl: './privacy.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { ItemAlertsComponent as BaseComponent } from '../../../../../app/item-page/alerts/item-alerts.component';

@Component({
selector: 'ds-custom-item-alerts',
selector: 'ds-themed-item-alerts',
// templateUrl: './item-alerts.component.html',
templateUrl: '../../../../../app/item-page/alerts/item-alerts.component.html',
// styleUrls: ['./item-alerts.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fadeIn, fadeInOut } from '../../../../../../app/shared/animations/fade'
import { ItemStatusComponent as BaseComponent } from '../../../../../../app/item-page/edit-item-page/item-status/item-status.component';

@Component({
selector: 'ds-custom-item-status',
selector: 'ds-themed-item-status',
// templateUrl: './item-status.component.html',
templateUrl: '../../../../../../app/item-page/edit-item-page/item-status/item-status.component.html',
changeDetection: ChangeDetectionStrategy.Default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../../../app/item-page/full/field-components/file-section/full-file-section.component';

@Component({
selector: 'ds-custom-item-page-full-file-section',
selector: 'ds-themed-item-page-full-file-section',
// styleUrls: ['./full-file-section.component.scss'],
styleUrls: ['../../../../../../../app/item-page/full/field-components/file-section/full-file-section.component.scss'],
// templateUrl: './full-file-section.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FullItemPageComponent as BaseComponent } from '../../../../../app/item-
*/

@Component({
selector: 'ds-custom-full-item-page',
selector: 'ds-themed-full-item-page',
// styleUrls: ['./full-item-page.component.scss'],
styleUrls: ['../../../../../app/item-page/full/full-item-page.component.scss'],
// templateUrl: './full-item-page.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../../app/item-page/media-viewer/media-viewer-image/media-viewer-image.component';

@Component({
selector: 'ds-custom-media-viewer-image',
selector: 'ds-themed-media-viewer-image',
// templateUrl: './media-viewer-image.component.html',
templateUrl: '../../../../../../app/item-page/media-viewer/media-viewer-image/media-viewer-image.component.html',
// styleUrls: ['./media-viewer-image.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../../app/item-page/media-viewer/media-viewer-video/media-viewer-video.component';

@Component({
selector: 'ds-custom-media-viewer-video',
selector: 'ds-themed-media-viewer-video',
// templateUrl: './media-viewer-video.component.html',
templateUrl: '../../../../../../app/item-page/media-viewer/media-viewer-video/media-viewer-video.component.html',
// styleUrls: ['./media-viewer-video.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '../../../../../app/item-page/media-viewer/media-viewer.component';

@Component({
selector: 'ds-custom-media-viewer',
selector: 'ds-themed-media-viewer',
// templateUrl: './media-viewer.component.html',
templateUrl: '../../../../../app/item-page/media-viewer/media-viewer.component.html',
// styleUrls: ['./media-viewer.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { slideSidebarPadding } from '../../../../../../../app/shared/animations/
import { FileSectionComponent as BaseComponent } from '../../../../../../../app/item-page/simple/field-components/file-section/file-section.component';

@Component({
selector: 'ds-custom-item-page-file-section',
selector: 'ds-themed-item-page-file-section',
// templateUrl: './file-section.component.html',
templateUrl: '../../../../../../../app/item-page/simple/field-components/file-section/file-section.component.html',
animations: [slideSidebarPadding],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fadeInOut } from '../../../../../app/shared/animations/fade';
* All fields of the item that should be displayed, are defined in its template.
*/
@Component({
selector: 'ds-custom-item-page',
selector: 'ds-themed-item-page',
// styleUrls: ['./item-page.component.scss'],
styleUrls: ['../../../../../app/item-page/simple/item-page.component.scss'],
// templateUrl: './item-page.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { MetadataRepresentationListComponent as BaseComponent } from '../../../.
import { Component } from '@angular/core';

@Component({
selector: 'ds-custom-metadata-representation-list',
selector: 'ds-themed-metadata-representation-list',
// templateUrl: './metadata-representation-list.component.html'
templateUrl: '../../../../../../app/item-page/simple/metadata-representation-list/metadata-representation-list.component.html'
})
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/login-page/login-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { LoginPageComponent as BaseComponent } from '../../../../app/login-page/
* This component represents the login page
*/
@Component({
selector: 'ds-custom-login-page',
selector: 'ds-themed-login-page',
// styleUrls: ['./login-page.component.scss'],
styleUrls: ['../../../../app/login-page/login-page.component.scss'],
// templateUrl: './login-page.component.html'
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/logout-page/logout-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { LogoutPageComponent as BaseComponent} from '../../../../app/logout-page/logout-page.component';

@Component({
selector: 'ds-custom-logout-page',
selector: 'ds-themed-logout-page',
// styleUrls: ['./logout-page.component.scss'],
styleUrls: ['../../../../app/logout-page/logout-page.component.scss'],
// templateUrl: './logout-page.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
import { ObjectNotFoundComponent as BaseComponent } from '../../../../../app/lookup-by-id/objectnotfound/objectnotfound.component';

@Component({
selector: 'ds-custom-objnotfound',
selector: 'ds-themed-objnotfound',
// styleUrls: ['./objectnotfound.component.scss'],
styleUrls: ['../../../../../app/lookup-by-id/objectnotfound/objectnotfound.component.scss'],
// templateUrl: './objectnotfound.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MyDSpaceConfigurationService } from '../../../../app/my-dspace-page/my-
* This component represents the whole mydspace page
*/
@Component({
selector: 'ds-custom-my-dspace-page',
selector: 'ds-themed-my-dspace-page',
// styleUrls: ['./my-dspace-page.component.scss'],
styleUrls: ['../../../../app/my-dspace-page/my-dspace-page.component.scss'],
// templateUrl: './my-dspace-page.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { MenuID } from '../../../../../app/shared/menu/menu-id.model';
* Represents an expandable section in the navbar
*/
@Component({
selector: 'ds-custom-expandable-navbar-section',
selector: 'ds-themed-expandable-navbar-section',
// templateUrl: './expandable-navbar-section.component.html',
templateUrl: '../../../../../app/navbar/expandable-navbar-section/expandable-navbar-section.component.html',
// styleUrls: ['./expandable-navbar-section.component.scss'],
Expand Down
2 changes: 1 addition & 1 deletion src/themes/custom/app/navbar/navbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { slideMobileNav } from '../../../../app/shared/animations/slide';
* Component representing the public navbar
*/
@Component({
selector: 'ds-custom-navbar',
selector: 'ds-themed-navbar',
// styleUrls: ['./navbar.component.scss'],
styleUrls: ['../../../../app/navbar/navbar.component.scss'],
// templateUrl: './navbar.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
import { PageNotFoundComponent as BaseComponent } from '../../../../app/pagenotfound/pagenotfound.component';

@Component({
selector: 'ds-custom-pagenotfound',
selector: 'ds-themed-pagenotfound',
// styleUrls: ['./pagenotfound.component.scss'],
styleUrls: ['../../../../app/pagenotfound/pagenotfound.component.scss'],
// templateUrl: './pagenotfound.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { ProfilePageComponent as BaseComponent } from '../../../../app/profile-page/profile-page.component';

@Component({
selector: 'ds-custom-profile-page',
selector: 'ds-themed-profile-page',
// styleUrls: ['./profile-page.component.scss'],
styleUrls: ['../../../../app/profile-page/profile-page.component.scss'],
// templateUrl: './profile-page.component.html'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CreateProfileComponent as BaseComponent } from '../../../../../app/regi
* Component that renders the create profile page to be used by a user registering through a token
*/
@Component({
selector: 'ds-custom-create-profile',
selector: 'ds-themed-create-profile',
// styleUrls: ['./create-profile.component.scss'],
styleUrls: ['../../../../../app/register-page/create-profile/create-profile.component.scss'],
// templateUrl: './create-profile.component.html'
Expand Down
Loading

0 comments on commit cdce0a6

Please sign in to comment.