[ACA-1958] Library - 'visibility' label (#769)

* use Visibility label

* update e2e
This commit is contained in:
Cilibiu Bogdan
2018-10-31 17:32:05 +02:00
committed by Adina Parpalita
parent ad111cb712
commit 408bacd483
4 changed files with 6 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ describe('File Libraries', () => {
});
it('has the correct columns - [C217095]', async () => {
const labels = [ 'Title', 'Status' ];
const labels = [ 'Title', 'Visibility' ];
const elements = labels.map(label => dataTable.getColumnHeaderByLabel(label));
expect(await dataTable.getColumnHeaders().count()).toBe(2 + 1, 'Incorrect number of columns');

View File

@@ -42,7 +42,7 @@
<div class="mat-form-field-infix">
<span class="mat-form-field-label-wrapper">
<span class="mat-form-field-label">
{{ 'LIBRARY.DIALOG.FORM.TYPE' | translate }}
{{ 'LIBRARY.DIALOG.FORM.VISIBILITY' | translate }}
</span>
</span>
@@ -96,7 +96,7 @@
</mat-form-field>
<mat-form-field class="adf-full-width">
<mat-select placeholder="{{ 'LIBRARY.DIALOG.FORM.TYPE' | translate }}" formControlName="visibility">
<mat-select placeholder="{{ 'LIBRARY.DIALOG.FORM.VISIBILITY' | translate }}" formControlName="visibility">
<mat-option [value]="type.value" *ngFor="let type of libraryType">
{{ type.label | translate }}
</mat-option>

View File

@@ -978,7 +978,7 @@
{
"id": "app.libraries.visibility",
"key": "visibility",
"title": "APP.DOCUMENT_LIST.COLUMNS.STATUS",
"title": "APP.DOCUMENT_LIST.COLUMNS.VISIBILITY",
"type": "text",
"sortable": true,
"template": "app.columns.libraryStatus",

View File

@@ -149,7 +149,7 @@
"SIZE": "Size",
"MODIFIED_ON": "Modified",
"MODIFIED_BY": "Modified by",
"STATUS": "Status",
"VISIBILITY": "Visibility",
"TITLE": "Title",
"LOCATION": "Location",
"SHARED_BY": "Shared by",
@@ -290,7 +290,7 @@
"DESCRIPTION": "Description",
"SITE_ID": "Library ID",
"NAME": "Name",
"TYPE": "Type"
"VISIBILITY": "Visibility"
}
},
"VISIBILITY": {