Adds shortcut of wizard on /plans - (Issue #100)

This commit is contained in:
apapachristou 2019-06-14 12:04:53 +03:00
parent b090a293c4
commit e01d752315
2 changed files with 6 additions and 2 deletions

View File

@ -7,9 +7,12 @@
<!-- <p class="card-category">{{'DMP-LISTING.SUBTITLE' | translate}}</p> --> <!-- <p class="card-category">{{'DMP-LISTING.SUBTITLE' | translate}}</p> -->
</div> </div>
<div class="d-flex align-items-center ml-auto p-2"> <div class="d-flex align-items-center ml-auto p-2">
<button mat-raised-button color="primary" class="text-uppercase lightblue-btn" [routerLink]="projectId ? ['/plans/new/project/', projectId] : ['./new'] "> <button mat-raised-button color="primary" class="text-uppercase lightblue-btn mr-2" [routerLink]="projectId ? ['/plans/new/project/', projectId] : ['./new']">
<mat-icon>add</mat-icon> {{'DMP-LISTING.ACTIONS.NEW' | translate}} <mat-icon>add</mat-icon> {{'DMP-LISTING.ACTIONS.NEW' | translate}}
</button> </button>
<button mat-raised-button color="primary" class="text-uppercase lightblue-btn" [routerLink]="['/quick-wizard']">
<mat-icon>play_circle_outline</mat-icon> {{'DMP-LISTING.ACTIONS.NEW-WITH-WIZARD' | translate}}
</button>
</div> </div>
</div> </div>
<div class="card-body table-responsive"> <div class="card-body table-responsive">

View File

@ -255,7 +255,8 @@
"PEOPLE": "People" "PEOPLE": "People"
}, },
"ACTIONS": { "ACTIONS": {
"NEW":"New Data Management Plan", "NEW": "New DMP",
"NEW-WITH-WIZARD": "New DMP using the wizard",
"EDIT": "Edit", "EDIT": "Edit",
"INVITE": "Invite Contributors", "INVITE": "Invite Contributors",
"ADD-DATASET": "Add Dataset To DMP", "ADD-DATASET": "Add Dataset To DMP",