mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
rebased and fixed the wrong directive for matList'
This commit is contained in:
@@ -30,20 +30,20 @@
|
||||
(keyup.enter)="elementClicked(item)"
|
||||
(touchend)="elementClicked(item)">
|
||||
<!-- This is a comment -->
|
||||
<mat-icon mat-list-icon>
|
||||
<mat-icon matListItemLine>
|
||||
<img [alt]="getMimeType(item)" [src]="getMimeTypeIcon(item)"/>
|
||||
</mat-icon>
|
||||
<h4 mat-line id="result_name_{{idx}}"
|
||||
<h4 matListItemTitle id="result_name_{{idx}}"
|
||||
*ngIf="highlight; else elseBlock"
|
||||
class="adf-search-fixed-text"
|
||||
[innerHtml]="item.entry.name | highlight: searchTerm">
|
||||
{{ item?.entry.name }}
|
||||
</h4>
|
||||
<ng-template #elseBlock>
|
||||
<h4 class="adf-search-fixed-text" mat-line id="result_name_{{idx}}"
|
||||
<h4 class="adf-search-fixed-text" matListItemTitle id="result_name_{{idx}}"
|
||||
[innerHtml]="item.entry.name"></h4>
|
||||
</ng-template>
|
||||
<p mat-line class="adf-search-fixed-text"> {{item?.entry.createdByUser.displayName}} </p>
|
||||
<p matListItemLine class="adf-search-fixed-text"> {{item?.entry.createdByUser.displayName}} </p>
|
||||
</mat-list-item>
|
||||
<mat-list-item id="search_no_result"
|
||||
data-automation-id="search_no_result_found"
|
||||
@@ -53,7 +53,7 @@
|
||||
*ngIf="isNoSearchTemplatePresent() else defaultNoResult">
|
||||
</ng-content>
|
||||
<ng-template #defaultNoResult>
|
||||
<p mat-line class="adf-search-fixed-text">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm:
|
||||
<p matListItemLine class="adf-search-fixed-text">{{ 'SEARCH.RESULTS.NONE' | translate:{searchTerm:
|
||||
searchTerm} }}</p>
|
||||
</ng-template>
|
||||
</mat-list-item>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
[attr.aria-expanded]="!isDialogMinimized"
|
||||
(click)="toggleMinimized()">
|
||||
<mat-icon
|
||||
mat-list-icon
|
||||
matListItemLine
|
||||
title="{{ (isDialogMinimized ? 'ADF_FILE_UPLOAD.BUTTON.MAXIMIZE': 'ADF_FILE_UPLOAD.BUTTON.MINIMIZE') | translate }}">
|
||||
{{ isDialogMinimized ? 'keyboard_arrow_up' : 'keyboard_arrow_down' }}
|
||||
</mat-icon>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="adf-file-uploading-row">
|
||||
<mat-icon *ngIf="mimeType === 'default'" mat-list-icon class="adf-file-uploading-row__type">
|
||||
<mat-icon *ngIf="mimeType === 'default'" matListItemLine class="adf-file-uploading-row__type">
|
||||
insert_drive_file
|
||||
</mat-icon>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
role="status"
|
||||
>
|
||||
<mat-icon
|
||||
mat-list-icon
|
||||
matListItemLine
|
||||
class="adf-file-uploading-row__status--done">
|
||||
check_circle
|
||||
</mat-icon>
|
||||
@@ -97,7 +97,7 @@
|
||||
role="status"
|
||||
*ngIf="isUploadError()"
|
||||
class="adf-file-uploading-row__block adf-file-uploading-row__status--error">
|
||||
<mat-icon mat-list-icon
|
||||
<mat-icon matListItemLine
|
||||
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.UPLOAD_FILE_ERROR' | translate: { error: file.errorCode | adfFileUploadError }"
|
||||
[title]="file.errorCode | adfFileUploadError">
|
||||
report_problem
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<mat-list class="adf-version-list" *ngIf="!isLoading; else loading_template">
|
||||
<mat-list-item *ngFor="let version of versions; let idx = index; let latestVersion = first">
|
||||
<mat-icon mat-list-icon>insert_drive_file</mat-icon>
|
||||
<p mat-line class="adf-version-list-item-name" [id]="'adf-version-list-item-name-' + version.entry.id" >{{version.entry.name}}</p>
|
||||
<p mat-line>
|
||||
<mat-icon matListItemLine>insert_drive_file</mat-icon>
|
||||
<p matListItemLine class="adf-version-list-item-name" [id]="'adf-version-list-item-name-' + version.entry.id" >{{version.entry.name}}</p>
|
||||
<p matListItemLine>
|
||||
<span class="adf-version-list-item-version" [id]="'adf-version-list-item-version-' + version.entry.id" >{{version.entry.id}}</span> -
|
||||
<span class="adf-version-list-item-date" [id]="'adf-version-list-item-date-' + version.entry.id" >{{version.entry.modifiedAt | date}}</span>
|
||||
</p>
|
||||
<p mat-line [id]="'adf-version-list-item-comment-'+ version.entry.id" class="adf-version-list-item-comment"
|
||||
<p matListItemLine [id]="'adf-version-list-item-comment-'+ version.entry.id" class="adf-version-list-item-comment"
|
||||
*ngIf="showComments">{{version.entry.versionComment}}</p>
|
||||
|
||||
<div *ngIf="showActions">
|
||||
|
Reference in New Issue
Block a user