mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA] Document List - e2e fix (#522)
* e2e fix * fix name column as link * fix 1
This commit is contained in:
committed by
Denys Vuika
parent
537eeebaf9
commit
9dba35baed
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user