MOBILE-2431 attachments: Fix display accepted types

main
Dani Palou 2018-06-20 10:12:56 +02:00
parent fa744ca7f2
commit eaf93d4fac
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
<ion-item text-wrap> <ion-item text-wrap>
{{ 'core.maxsizeandattachments' | translate:{$a: {size: maxSizeReadable, attachments: maxSubmissionsReadable} } }} {{ 'core.maxsizeandattachments' | translate:{$a: {size: maxSizeReadable, attachments: maxSubmissionsReadable} } }}
</ion-item> </ion-item>
<ion-item text-wrap *ngIf="filetypes && filetypes.mimetypes && filetypes.mimetypes.length"> <ion-item text-wrap *ngIf="fileTypes && fileTypes.mimetypes && fileTypes.mimetypes.length">
<p>{{ 'core.fileuploader.filesofthesetypes' | translate }}</p> <p>{{ 'core.fileuploader.filesofthesetypes' | translate }}</p>
<ul class="list-with-style"> <ul class="list-with-style">
<li *ngFor="let typeInfo of filetypes.info"> <li *ngFor="let typeInfo of fileTypes.info">
<strong *ngIf="typeInfo.name">{{typeInfo.name}} </strong>{{typeInfo.extlist}} <strong *ngIf="typeInfo.name">{{typeInfo.name}} </strong>{{typeInfo.extlist}}
</li> </li>
</ul> </ul>