[account] update profile image md5
This commit is contained in:
		
							parent
							
								
									fd8df2a035
								
							
						
					
					
						commit
						8b1acbe13b
					
				| @ -189,7 +189,7 @@ | |||||||
|           <ng-container> |           <ng-container> | ||||||
|             <ng-template ngFor let-sponsor [ngForOf]="profiles.whales"> |             <ng-template ngFor let-sponsor [ngForOf]="profiles.whales"> | ||||||
|               <a [href]="'https://twitter.com/' + sponsor.username" target="_blank" rel="sponsored" [title]="sponsor.username"> |               <a [href]="'https://twitter.com/' + sponsor.username" target="_blank" rel="sponsored" [title]="sponsor.username"> | ||||||
|                 <img class="image" [src]="'/api/v1/services/account/images/' + sponsor.username + '?md5=' + sponsor.imageMd5" onError="this.src = '/resources/profile/unknown.svg'; this.className = 'image unknown'"/> |                 <img class="image" [src]="'/api/v1/services/account/images/' + sponsor.username + '/md5=' + sponsor.imageMd5" onError="this.src = '/resources/profile/unknown.svg'; this.className = 'image unknown'"/> | ||||||
|               </a> |               </a> | ||||||
|             </ng-template> |             </ng-template> | ||||||
|           </ng-container> |           </ng-container> | ||||||
| @ -201,7 +201,7 @@ | |||||||
|         <div class="wrapper"> |         <div class="wrapper"> | ||||||
|           <ng-template ngFor let-sponsor [ngForOf]="profiles.chads"> |           <ng-template ngFor let-sponsor [ngForOf]="profiles.chads"> | ||||||
|             <a [href]="'https://twitter.com/' + sponsor.username" target="_blank" rel="sponsored" [title]="sponsor.username"> |             <a [href]="'https://twitter.com/' + sponsor.username" target="_blank" rel="sponsored" [title]="sponsor.username"> | ||||||
|               <img class="image" [src]="'/api/v1/services/account/images/' + sponsor.username + '?md5=' + sponsor.imageMd5" onError="this.src = '/resources/profile/unknown.svg'; this.className = 'image unknown'"/> |               <img class="image" [src]="'/api/v1/services/account/images/' + sponsor.username + '/md5=' + sponsor.imageMd5" onError="this.src = '/resources/profile/unknown.svg'; this.className = 'image unknown'"/> | ||||||
|             </a> |             </a> | ||||||
|           </ng-template> |           </ng-template> | ||||||
|         </div> |         </div> | ||||||
|  | |||||||
| @ -5,7 +5,7 @@ | |||||||
|   <!-- Hamburger --> |   <!-- Hamburger --> | ||||||
|   <ng-container *ngIf="servicesEnabled"> |   <ng-container *ngIf="servicesEnabled"> | ||||||
|     <div *ngIf="user" class="profile_image_container" [class]="{'anon': !user.imageMd5}" (click)="hamburgerClick($event)"> |     <div *ngIf="user" class="profile_image_container" [class]="{'anon': !user.imageMd5}" (click)="hamburgerClick($event)"> | ||||||
|       <img *ngIf="user.imageMd5" [src]="'/api/v1/services/account/images/' + user.username + '?md5=' + user.imageMd5" class="profile_image"> |       <img *ngIf="user.imageMd5" [src]="'/api/v1/services/account/images/' + user.username + '/md5=' + user.imageMd5" class="profile_image"> | ||||||
|       <app-svg-images style="color: lightgrey; fill: lightgray" *ngIf="!user.imageMd5" name="anon"></app-svg-images> |       <app-svg-images style="color: lightgrey; fill: lightgray" *ngIf="!user.imageMd5" name="anon"></app-svg-images> | ||||||
|     </div> |     </div> | ||||||
|     <div *ngIf="false && user === null" class="profile_image_container" (click)="hamburgerClick($event)"> |     <div *ngIf="false && user === null" class="profile_image_container" (click)="hamburgerClick($event)"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user