[ADF-3132] TaskList empty state doesn't respect the specification (#3440)

This commit is contained in:
camorra-skk 2018-06-06 20:45:29 +05:30 committed by Maurizio Vitale
parent 1de61d37f4
commit bbe0904447
3 changed files with 6 additions and 4 deletions

View File

@ -28,7 +28,7 @@
</adf-accordion-group> </adf-accordion-group>
</adf-accordion> </adf-accordion>
</div> </div>
<div class="adf-grid-item adf-tasks-list" fxFlex.gt-md="335px" [ngClass.gt-md]="{'small-pagination': true}" <div class="adf-grid-item adf-tasks-list" fxFlex.gt-md="380px" [ngClass.gt-md]="{'small-pagination': true}"
*ngIf="taskFilter && !isStartTaskMode()"> *ngIf="taskFilter && !isStartTaskMode()">
<adf-tasklist <adf-tasklist
[appId]="taskFilter?.appId" [appId]="taskFilter?.appId"

View File

@ -19,7 +19,8 @@
}, },
"LIST": { "LIST": {
"MESSAGES": { "MESSAGES": {
"NONE": "No task lists found" "TITLE": "No Tasks Found",
"SUBTITLE":"Create a new task that you want to easily find later"
} }
}, },
"PROPERTIES": { "PROPERTIES": {

View File

@ -26,8 +26,9 @@
<no-content-template> <no-content-template>
<ng-template> <ng-template>
<adf-empty-content *ngIf="!emptyCustomContent" <adf-empty-content *ngIf="!emptyCustomContent"
icon="assessment" icon="assignment"
[title]="'ADF_TASK_LIST.LIST.MESSAGES.NONE' | translate"> [title]="'ADF_TASK_LIST.LIST.MESSAGES.TITLE' | translate"
[subtitle]="'ADF_TASK_LIST.LIST.MESSAGES.SUBTITLE' | translate">
</adf-empty-content> </adf-empty-content>
<ng-content select="adf-empty-custom-content"></ng-content> <ng-content select="adf-empty-custom-content"></ng-content>
</ng-template> </ng-template>