Skip to content
Permalink
Browse files
feat(DMP): bring back the workspace (#431)
* feat(DMP): reactivate search and resource view

* chore(packages): run npm i
  • Loading branch information
kilchenmann committed Apr 27, 2021
1 parent f9b9630 commit e8b1c8e97c244152b7e7df172c2e9932ee4991ae
Showing with 13 additions and 13 deletions.
  1. +1 −1 package-lock.json
  2. +4 −4 src/app/app-routing.module.ts
  3. +8 −8 src/app/main/header/header.component.html

Some generated files are not rendered by default. Learn more.

@@ -148,7 +148,7 @@ const routes: Routes = [
}
]
},
/* {
{
path: 'search',
children: [
{
@@ -160,12 +160,12 @@ const routes: Routes = [
component: ResultsComponent
}
]
}, */
/* {
},
{
path: 'resource/:id',
component: ResourceComponent,
runGuardsAndResolvers: 'always'
}, */
},
{
path: 'cookie-policy',
component: CookiePolicyComponent
@@ -11,15 +11,15 @@ <h1 class="mat-headline phone-tablet-only">DSP</h1>
<span class="fill-remaining-space"></span>

<!-- search-panel (in desktop and tablet version) -->
<!-- <span class="action"> -->
<span class="action">
<!-- button to reactivate when dsp-app will be used as a research platform again: -->
<!-- <dsp-search-panel
<dsp-search-panel
[projectfilter]="true"
[advanced]="true"
[expert]="true"
(search)="doSearch($event)">
</dsp-search-panel> -->
<!-- to keep? > advanced and expert search (in desktop and tablet version) -->
</dsp-search-panel>
<!-- to keep? > advanced and expert search (in desktop and tablet version) > already implemented in dsp-search-panel > we can delete the following commented code -->
<!-- <span class="other-search-link">
<button mat-button color="primary" class="advanced-search-link" routerLink="/search/advanced">
<span>Advanced search</span>
@@ -28,7 +28,7 @@ <h1 class="mat-headline phone-tablet-only">DSP</h1>
<span>Expert search</span>
</button>
</span> -->
<!-- </span> -->
</span>

<span class="fill-remaining-space desktop-only"></span>

@@ -39,10 +39,10 @@ <h1 class="mat-headline phone-tablet-only">DSP</h1>

<!-- action tools: info menu, select language, login button, user menu -->
<span class="action">
<!-- button to reactivate when dsp-app will be used as a research platform again: -->
<!-- <button mat-icon-button *ngIf="session" aria-label="Add a new resource" (click)="openNewResourceForm('createResource')" class="main-toolbar-button new-resource" >

<button mat-icon-button *ngIf="session" aria-label="Add a new resource" (click)="openNewResourceForm('createResource')" class="main-toolbar-button new-resource" >
<mat-icon>add_circle_outline</mat-icon>
</button> -->
</button>

<button mat-button [routerLink]="'/help'" class="main-toolbar-button help">Help</button>

0 comments on commit e8b1c8e

Please sign in to comment.