Removes page of view plans for particular grant and removes unnecessary horizontal scrollbar on dataset description edit

This commit is contained in:
apapachristou 2019-10-30 10:54:41 +02:00
parent bb91873194
commit d9c338a6e0
3 changed files with 18 additions and 21 deletions

View File

@ -199,8 +199,6 @@ span.iconmedium {
float: left;
width: 100px;
height: 56px;
// margin-left: 1em;
// margin-right: 1em;
}
span.orcidIconMedium {
@ -209,8 +207,6 @@ span.orcidIconMedium {
float: right;
width: 56px;
height: 56px;
// margin-left: 1em;
// margin-right: 1em;
}
span.openaireIcon {
@ -219,8 +215,6 @@ span.openaireIcon {
float: right;
width: 80px;
height: 56px;
// margin-left: 1em;
// margin-right: 1em;
}
.b2access-button {

View File

@ -91,14 +91,16 @@
{{'DATASET-PROFILE-EDITOR.STEPS.PAGES.DESCRIPTION' | translate}}
</div>
</ng-template>
<div class="row toc-pane-container" #boundary>
<div class="col-md-8 h-100 ">
<app-dataset-description-form class="w-100 h-100" *ngIf="formGroup && datasetWizardModel && datasetWizardModel.datasetProfileDefinition" [form]="this.formGroup.get('datasetProfileDefinition')" [visibilityRules]="datasetWizardModel.datasetProfileDefinition.rules" [datasetProfileId]="formGroup.get('profile').value" [linkToScroll]="linkToScroll">
</app-dataset-description-form>
</div>
<div #spacer></div>
<div class="col-md-4">
<table-of-contents class="toc-pane-container" [boundary]="boundary" [spacer]="spacer" stickyThing (stepFound)="onStepFound($event)"></table-of-contents>
<div class="col">
<div class="row toc-pane-container" #boundary>
<div class="col-md-8 h-100 ">
<app-dataset-description-form class="w-100 h-100" *ngIf="formGroup && datasetWizardModel && datasetWizardModel.datasetProfileDefinition" [form]="this.formGroup.get('datasetProfileDefinition')" [visibilityRules]="datasetWizardModel.datasetProfileDefinition.rules" [datasetProfileId]="formGroup.get('profile').value" [linkToScroll]="linkToScroll">
</app-dataset-description-form>
</div>
<div #spacer></div>
<div class="col-md-4">
<table-of-contents class="toc-pane-container" [boundary]="boundary" [spacer]="spacer" stickyThing (stepFound)="onStepFound($event)"></table-of-contents>
</div>
</div>
</div>
</mat-tab>

View File

@ -22,13 +22,14 @@ const routes: Routes = [
breadcrumb: true
},
},
{
path: 'grant/:grantId',
component: DmpListingComponent,
data: {
breadcrumb: true
},
},
// Uncomment to get dmp plans for grant with grantId
// {
// path: 'grant/:grantId',
// component: DmpListingComponent,
// data: {
// breadcrumb: true
// },
// },
{
path: 'edit/:id',
component: DmpEditorComponent,