Added alt
This commit is contained in:
parent
c11684fa45
commit
5444a4183f
@ -2,8 +2,8 @@
|
|||||||
<ng-container *ngFor="let p of projectsService.all; let first = first">
|
<ng-container *ngFor="let p of projectsService.all; let first = first">
|
||||||
<mat-divider *ngIf="!first"></mat-divider>
|
<mat-divider *ngIf="!first"></mat-divider>
|
||||||
<mat-list-item>
|
<mat-list-item>
|
||||||
<img *ngIf="p.avatar_url" mat-list-avatar [src]="p.avatar_url">
|
<img *ngIf="p.avatar_url" mat-list-avatar [src]="p.avatar_url" alt="Project icon">
|
||||||
<img *ngIf="!p.avatar_url" mat-list-avatar src="/assets/img/git.png">
|
<img *ngIf="!p.avatar_url" mat-list-avatar src="/assets/img/git.png" alt="Project icon">
|
||||||
<a mat-line [href]="p.web_url" target="_blank">{{p.name}}</a>
|
<a mat-line [href]="p.web_url" target="_blank">{{p.name}}</a>
|
||||||
<div mat-line>{{p.description}}</div>
|
<div mat-line>{{p.description}}</div>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
|
Loading…
Reference in New Issue
Block a user