Skip to content

Commit

Permalink
feat(DMP): bring back the workspace (#431)
Browse files Browse the repository at this point in the history
* feat(DMP): reactivate search and resource view

* chore(packages): run npm i
  • Loading branch information
kilchenmann committed Apr 27, 2021
1 parent f9b9630 commit e8b1c8e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/app/app-routing.module.ts
Expand Up @@ -148,7 +148,7 @@ const routes: Routes = [
}
]
},
/* {
{
path: 'search',
children: [
{
Expand All @@ -160,12 +160,12 @@ const routes: Routes = [
component: ResultsComponent
}
]
}, */
/* {
},
{
path: 'resource/:id',
component: ResourceComponent,
runGuardsAndResolvers: 'always'
}, */
},
{
path: 'cookie-policy',
component: CookiePolicyComponent
Expand Down
16 changes: 8 additions & 8 deletions src/app/main/header/header.component.html
Expand Up @@ -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>
Expand All @@ -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>

Expand All @@ -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>

Expand Down

0 comments on commit e8b1c8e

Please sign in to comment.