Skip to content

Commit

Permalink
Move editor component on data explorer page
Browse files Browse the repository at this point in the history
  • Loading branch information
askask committed Jun 10, 2024
1 parent 9d0fea8 commit d6c5ac6
Showing 1 changed file with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,6 @@
<h2>{{ 'DATA_EXPLORER.EXPLORE_PROJECT' | translate }}</h2>
<p class="num-margin-b-40">{{ 'DATA_EXPLORER.EXPLORE_PROJECT_CONTENT' | translate }}</p>

<num-project-editor-accordion
class="num-margin-b-40"
[isResearchersFetched]="isResearchersFetched"
[isCohortsFetched]="isCohortsFetched"
[isTemplatesDisabled]="isTemplatesDisabled"
[isResearchersDisabled]="isResearchersDisabled"
[isGeneralInfoDisabled]="isGeneralInfoDisabled"
[isCohortBuilderDisabled]="isCohortBuilderDisabled"
[showAttachmentsSelect]="false"
[isInPreview]="true"
[project]="project"
[projectForm]="projectForm"
[cohortGroup]="cohortGroup"
[generalInfoData]="generalInfoData"
></num-project-editor-accordion>

<section role="presentation">
<h3>{{ 'DATA_EXPLORER.HEADLINE_RETRIEVE_SECTION' | translate }}</h3>
<p class="num-margin-b-20" *ngIf="!isFilteringDisabled">
Expand Down Expand Up @@ -152,6 +136,23 @@ <h3 id="result-set-header">{{ 'DATA_EXPLORER.RESULT_SET' | translate }}</h3>
</mat-card>
</ng-template>

<mat-divider class="num-d-w--1 num-margin-b-40"></mat-divider>
<num-project-editor-accordion
class="num-margin-b-40"
[isResearchersFetched]="isResearchersFetched"
[isCohortsFetched]="isCohortsFetched"
[isTemplatesDisabled]="isTemplatesDisabled"
[isResearchersDisabled]="isResearchersDisabled"
[isGeneralInfoDisabled]="isGeneralInfoDisabled"
[isCohortBuilderDisabled]="isCohortBuilderDisabled"
[showAttachmentsSelect]="false"
[isInPreview]="true"
[project]="project"
[projectForm]="projectForm"
[cohortGroup]="cohortGroup"
[generalInfoData]="generalInfoData"
></num-project-editor-accordion>

<mat-divider class="num-d-w--1 num-margin-b-40"></mat-divider>
<div role="presentation" fxLayout="row" fxLayoutAlign="space-between">
<num-button
Expand Down

0 comments on commit d6c5ac6

Please sign in to comment.