[ACA] Document List - e2e fix (#522)

* e2e fix

* fix name column as link

* fix 1
This commit is contained in:
Cilibiu Bogdan
2018-07-24 12:23:08 +03:00
committed by Denys Vuika
parent 537eeebaf9
commit 9dba35baed
21 changed files with 205 additions and 172 deletions

View File

@@ -153,15 +153,15 @@
</data-column>
<data-column
class="adf-data-table-cell--ellipsis__name adf-location-cell"
class="adf-data-table-cell--ellipsis__name"
key="name"
title="APP.DOCUMENT_LIST.COLUMNS.NAME">
<ng-template let-value="value" let-context>
<a class="adf-datatable-cell"
<span class="dl-link"
title="{{ context?.row?.obj | adfNodeNameTooltip }}"
(click)="onNodeDoubleClick(context?.row?.obj)">
{{ value }}
</a>
</span>
</ng-template>
</data-column>

View File

@@ -158,15 +158,15 @@
</data-column>
<data-column
class="adf-data-table-cell--ellipsis__name adf-location-cell"
class="adf-data-table-cell--ellipsis__name"
key="name"
title="APP.DOCUMENT_LIST.COLUMNS.NAME">
<ng-template let-value="value" let-context>
<a
<span class="dl-link"
title="{{ context?.row?.obj | adfNodeNameTooltip }}"
(click)="navigateTo(context?.row?.obj)">
{{ value }}
</a>
</span>
</ng-template>
</data-column>

View File

@@ -70,15 +70,16 @@
</data-column>
<data-column
class="adf-data-table-cell--ellipsis__name adf-location-cell"
class="adf-data-table-cell--ellipsis__name"
key="title"
title="APP.DOCUMENT_LIST.COLUMNS.TITLE">
<ng-template let-context>
<a
<span
class="dl-link"
title="{{ makeLibraryTooltip(context.row.obj.entry) }}"
(click)="navigateTo(context?.row?.obj)">
{{ makeLibraryTitle(context.row.obj.entry) }}
</a>
</span>
</ng-template>
</data-column>

View File

@@ -147,15 +147,15 @@
</data-column>
<data-column
class="adf-data-table-cell--ellipsis__name adf-location-cell"
class="adf-data-table-cell--ellipsis__name"
key="name"
title="APP.DOCUMENT_LIST.COLUMNS.NAME">
<ng-template let-value="value" let-context>
<a class="adf-datatable-cell"
<span class="dl-link"
title="{{ context?.row?.obj | adfNodeNameTooltip }}"
(click)="onNodeDoubleClick(context?.row?.obj)">
{{ value }}
</a>
</span>
</ng-template>
</data-column>

View File

@@ -142,15 +142,16 @@
</data-column>
<data-column
class="adf-data-table-cell--ellipsis__name adf-location-cell"
class="adf-data-table-cell--ellipsis__name"
key="name"
title="APP.DOCUMENT_LIST.COLUMNS.NAME">
<ng-template let-value="value" let-context>
<a
<span
class="dl-link"
title="{{ context?.row?.obj | adfNodeNameTooltip }}"
(click)="showPreview(context?.row?.obj)">
{{ value }}
</a>
</span>
</ng-template>
</data-column>

View File

@@ -18,6 +18,16 @@
.adf-data-table {
border: none !important;
.dl-link {
text-decoration: none;
color: mat-color($foreground, text);
&:hover {
color: #2196F3;
text-decoration: underline;
}
}
.adf-datatable-selected > svg {
// fill: mat-color($primary);
fill: #2196f3;