Skip to content
Merged
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
12 changes: 2 additions & 10 deletions src/app/info/info-routes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// UMD Customization
/* eslint-disable import-newlines/enforce */
/* eslint-disable simple-import-sort/imports */
// End Customization
import {
Route,
Routes,
Expand All @@ -24,17 +20,13 @@ import {
} from './info-routing-paths';
import { NotifyInfoComponent } from './notify-info/notify-info.component';
import { ThemedPrivacyComponent } from './privacy/themed-privacy.component';
// UMD Customization
import { WufooFeedbackResolver } from '../wufoo/wufoo-feedback-resolver';
// End UMD Customization


export const ROUTES: Routes = [
{
path: FEEDBACK_PATH,
component: ThemedFeedbackComponent,
// UMD Customization
resolve: { breadcrumb: i18nBreadcrumbResolver, wufoo: WufooFeedbackResolver },
// End UMD Customization
resolve: { breadcrumb: i18nBreadcrumbResolver },
data: { title: 'info.feedback.title', breadcrumbKey: 'info.feedback' },
canActivate: [feedbackGuard],
},
Expand Down
71 changes: 0 additions & 71 deletions src/app/wufoo/wufoo-feedback-resolver.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/app/wufoo/wufoo-feedback-response.model.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7192,8 +7192,6 @@

"home.top-level-communities.head": "Communities in DRUM",

"info.feedback.info": "Thanks for sharing your feedback about DRUM. Your comments are appreciated!",

"item.page.advisor": "Advisor",

"item.page.citation.datasetOrSoftware": "Related Publication Citation",
Expand Down
2 changes: 1 addition & 1 deletion src/themes/drum/app/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="bottom-footer p-1 d-flex justify-content-center align-items-center">
<div class="content-container">
<ul class="footer-info list-unstyled small d-flex justify-content-center mb-0">
<li>
<li *ngIf="showSendFeedback$ | async">
<a skipLocationChange="true" routerLink="info/feedback">{{ 'footer.link.feedback' | translate}}</a>
</li>
<li>
Expand Down
7 changes: 5 additions & 2 deletions src/themes/drum/app/footer/footer.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { NgIf } from '@angular/common';
import {
AsyncPipe,
NgIf,
} from '@angular/common';
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
Expand All @@ -9,7 +12,7 @@ import { FooterComponent as BaseComponent } from '../../../../app/footer/footer.
selector: 'ds-themed-footer',
styleUrls: ['footer.component.scss'],
templateUrl: 'footer.component.html',
imports: [NgIf, RouterLink, TranslateModule],
imports: [NgIf, RouterLink, AsyncPipe, TranslateModule],
standalone: true,
})
export class FooterComponent extends BaseComponent {
Expand Down

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions src/themes/drum/app/info/feedback/feedback.component.html

This file was deleted.

Empty file.
16 changes: 0 additions & 16 deletions src/themes/drum/app/info/feedback/feedback.component.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/themes/drum/eager-theme.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { FooterComponent } from './app/footer/footer.component';
import { HeaderComponent } from './app/header/header.component';
import { HomeNewsComponent } from './app/home-page/home-news/home-news.component';
import { HomePageComponent } from './app/home-page/home-page.component';
import { FeedbackComponent } from './app/info/feedback/feedback.component';
import { FeedbackFormComponent } from './app/info/feedback/feedback-form/feedback-form.component';
import { JsonLdWebsiteComponent } from './app/item-page/json-ld/json-ld-website.component';
import { FileSectionComponent } from './app/item-page/simple/field-components/file-section/file-section.component';
import { UntypedItemComponent } from './app/item-page/simple/item-types/untyped-item/untyped-item.component';
Expand All @@ -37,8 +35,6 @@ const ENTRY_COMPONENTS = [
const DECLARATIONS = [
...ENTRY_COMPONENTS,
BitstreamDownloadCounterComponent,
FeedbackComponent,
FeedbackFormComponent,
FileSectionComponent,
FooterComponent,
HeaderComponent,
Expand Down
Loading