mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Merge pull request #97 from Alfresco/dev-hashraf-auto-ids
Dev hashraf auto ids
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<th class="mdl-data-table__cell--non-numeric {{col.cssClass}}"
|
||||
*ngFor="#col of columns"
|
||||
[class.column-header]="col.title"
|
||||
[attr.data.automation-id]=“‘auto_id_’ + col.source”
|
||||
[class.mdl-data-table__header--sorted-ascending]="sorting.key === col.source && sorting.direction === 'asc'"
|
||||
[class.mdl-data-table__header--sorted-descending]="sorting.key === col.source && sorting.direction === 'desc'"
|
||||
(click)="onColumnHeaderClick(col)">
|
||||
@@ -32,7 +33,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr *ngFor="#content of folder.list.entries; #idx = index">
|
||||
<tr *ngFor="#content of folder.list.entries; #idx = index"
|
||||
[attr.data.automation-id]="getObjectValue(content.entry, 'name')">
|
||||
<!-- Columns -->
|
||||
<td *ngFor="#col of columns" [ngSwitch]="col.source"
|
||||
class="mdl-data-table__cell--non-numeric {{content.entry.isFolder ? 'folder-row-cell' : 'document-row-cell'}} {{col.cssClass}}"
|
||||
|
||||
Reference in New Issue
Block a user