Improve external's dataset styling

This commit is contained in:
George Kalampokis 2020-04-13 16:31:09 +03:00
parent 3ce7fe7595
commit d2192f2be0
3 changed files with 8 additions and 3 deletions

View File

@ -39,8 +39,8 @@
</mat-form-field>
</div>
<div class="col-auto" *ngIf='!viewOnly && isInternal(suggestion)'>
<button mat-raised-button (click)="updateDataRepository(suggestion)">
Update
<button mat-raised-button (click)="updateDataRepository(suggestion)" type="button" color="primary">
{{ 'DATASET-EDITOR.ACTIONS.UPDATE' | translate }}
</button>
</div>
<div class="col-auto" *ngIf='!viewOnly'>

View File

@ -102,7 +102,11 @@ export class DatasetExternalReferencesEditorComponent extends BaseComponent impl
this.externalSourcesConfiguration.externalDatasets.push({ key: '', label: 'All' });
this.externalSourcesConfiguration.registries.push({ key: '', label: 'All' });
this.externalSourcesConfiguration.services.push({ key: '', label: 'All' });
if (!isNullOrUndefined(this.externalSourcesConfiguration.tags)) {
this.externalSourcesConfiguration.tags.push({ key: '', label: 'All' });
} else {
this.externalSourcesConfiguration.tags = [{ key: '', label: 'All' }];
}
});
}

View File

@ -829,7 +829,8 @@
"ACTIONS": {
"SAVE": "Save",
"CANCEL": "Cancel",
"DELETE": "Delete"
"DELETE": "Delete",
"UPDATE": "Update"
},
"VERSION-DIALOG": {
"ABOUT": "Versioning is automated.",