mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
36 lines
1.8 KiB
HTML
36 lines
1.8 KiB
HTML
<p data-automation-id="search_result_found" *ngIf="results && results.length">{{ 'SEARCH.RESULTS.SUMMARY' | translate:{numResults: results.length, searchTerm: searchTerm} }}</p>
|
|
<p data-automation-id="search_result_found" *ngIf="results&& results.length == 0">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm: searchTerm} }}</p>
|
|
<<<<<<< HEAD
|
|
<table data-automation-id="search_result_table" *ngIf="results && results.length && searchTerm" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
|
|
=======
|
|
<table *ngIf="results && results.length && searchTerm" class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width">
|
|
>>>>>>> 2404034e7887fb5bd192f1c08bfde703aca4a7b6
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
<span class="mdl-data-table__cell--non-numeric"></span>
|
|
</th>
|
|
<th>
|
|
<span class="mdl-data-table__cell--non-numeric">{{'SEARCH.RESULTS.COLUMNS.NAME' | translate}}</span>
|
|
</th>
|
|
<th>
|
|
<span class="mdl-data-table__cell--non-numeric">{{'SEARCH.RESULTS.COLUMNS.MODIFIED_BY' | translate}}</span>
|
|
</th>
|
|
<th>
|
|
<span class="mdl-data-table__cell--non-numeric">{{'SEARCH.RESULTS.COLUMNS.MODIFIED_AT' | translate}}</span>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr *ngFor="let result of results; let idx = index">PIPPO
|
|
<td><img src="{{getDocumentThumbnailUrl(result)}}" /></td>
|
|
<td data-automation-id="file_{{result.entry.name}}">{{result.entry.name}}</td>
|
|
<td data-automation-id="file_{{result.entry.name}}_{{result.entry.modifiedByUser.displayName}}">{{result.entry.modifiedByUser.displayName}}</td>
|
|
<td>{{result.entry.modifiedAt}}</td>
|
|
</tr>SUCA
|
|
|
|
</tbody>
|
|
</table>
|
|
<p data-automation-id="search_error_message" *ngIf="errorMessage">{{ 'SEARCH.RESULTS.ERROR' | translate:{errorMessage: errorMessage} }}</p>
|