Skip to content

Commit d530d2b

Browse files
committed
MOBILE-3039 ios: Make avatars circled in shared files choose
1 parent d0beca0 commit d530d2b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/core/sharedfiles/pages/choose-site/choose-site.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
<p class="item-heading">{{ 'core.sharedfiles.chooseaccountstorefile' | translate }}</p>
1111
<p>{{fileName}}</p>
1212
</ion-item>
13-
<a ion-item *ngFor="let site of sites" (click)="storeInSite(site.id)">
14-
<img [src]="site.avatar" item-start>
13+
<a ion-item *ngFor="let site of sites" (click)="storeInSite(site.id)" detail-none>
14+
<ion-avatar item-start>
15+
<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'">
16+
</ion-avatar>
1517
<h2>{{site.fullName}}</h2>
16-
<p><core-format-text clean="true" [text]="site.siteName"></core-format-text></p>
18+
<p><core-format-text clean="true" [text]="site.siteName" [siteId]="site.id"></core-format-text></p>
1719
<p>{{site.siteUrl}}</p>
1820
</a>
1921
</ion-list>

0 commit comments

Comments
 (0)