Improve external's dataset styling
This commit is contained in:
parent
3ce7fe7595
commit
d2192f2be0
|
@ -39,8 +39,8 @@
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto" *ngIf='!viewOnly && isInternal(suggestion)'>
|
<div class="col-auto" *ngIf='!viewOnly && isInternal(suggestion)'>
|
||||||
<button mat-raised-button (click)="updateDataRepository(suggestion)">
|
<button mat-raised-button (click)="updateDataRepository(suggestion)" type="button" color="primary">
|
||||||
Update
|
{{ 'DATASET-EDITOR.ACTIONS.UPDATE' | translate }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto" *ngIf='!viewOnly'>
|
<div class="col-auto" *ngIf='!viewOnly'>
|
||||||
|
|
|
@ -102,7 +102,11 @@ export class DatasetExternalReferencesEditorComponent extends BaseComponent impl
|
||||||
this.externalSourcesConfiguration.externalDatasets.push({ key: '', label: 'All' });
|
this.externalSourcesConfiguration.externalDatasets.push({ key: '', label: 'All' });
|
||||||
this.externalSourcesConfiguration.registries.push({ key: '', label: 'All' });
|
this.externalSourcesConfiguration.registries.push({ key: '', label: 'All' });
|
||||||
this.externalSourcesConfiguration.services.push({ key: '', label: 'All' });
|
this.externalSourcesConfiguration.services.push({ key: '', label: 'All' });
|
||||||
|
if (!isNullOrUndefined(this.externalSourcesConfiguration.tags)) {
|
||||||
this.externalSourcesConfiguration.tags.push({ key: '', label: 'All' });
|
this.externalSourcesConfiguration.tags.push({ key: '', label: 'All' });
|
||||||
|
} else {
|
||||||
|
this.externalSourcesConfiguration.tags = [{ key: '', label: 'All' }];
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -829,7 +829,8 @@
|
||||||
"ACTIONS": {
|
"ACTIONS": {
|
||||||
"SAVE": "Save",
|
"SAVE": "Save",
|
||||||
"CANCEL": "Cancel",
|
"CANCEL": "Cancel",
|
||||||
"DELETE": "Delete"
|
"DELETE": "Delete",
|
||||||
|
"UPDATE": "Update"
|
||||||
},
|
},
|
||||||
"VERSION-DIALOG": {
|
"VERSION-DIALOG": {
|
||||||
"ABOUT": "Versioning is automated.",
|
"ABOUT": "Versioning is automated.",
|
||||||
|
|
Loading…
Reference in New Issue