MOBILE-3039 ios: Make avatars circled in shared files choose

main
Dani Palou 2019-05-29 17:19:53 +02:00
parent d0beca075a
commit d530d2b95e
1 changed files with 5 additions and 3 deletions

View File

@ -10,10 +10,12 @@
<p class="item-heading">{{ 'core.sharedfiles.chooseaccountstorefile' | translate }}</p> <p class="item-heading">{{ 'core.sharedfiles.chooseaccountstorefile' | translate }}</p>
<p>{{fileName}}</p> <p>{{fileName}}</p>
</ion-item> </ion-item>
<a ion-item *ngFor="let site of sites" (click)="storeInSite(site.id)"> <a ion-item *ngFor="let site of sites" (click)="storeInSite(site.id)" detail-none>
<img [src]="site.avatar" item-start> <ion-avatar item-start>
<img [src]="site.avatar" core-external-content [siteId]="site.id" alt="{{ 'core.pictureof' | translate:{$a: site.fullname} }}" role="presentation" onError="this.src='assets/img/user-avatar.png'">
</ion-avatar>
<h2>{{site.fullName}}</h2> <h2>{{site.fullName}}</h2>
<p><core-format-text clean="true" [text]="site.siteName"></core-format-text></p> <p><core-format-text clean="true" [text]="site.siteName" [siteId]="site.id"></core-format-text></p>
<p>{{site.siteUrl}}</p> <p>{{site.siteUrl}}</p>
</a> </a>
</ion-list> </ion-list>