diff options
Diffstat (limited to 'client/src/app/search/search.component.html')
-rw-r--r-- | client/src/app/search/search.component.html | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/client/src/app/search/search.component.html b/client/src/app/search/search.component.html index bbc70f772..128cc52f5 100644 --- a/client/src/app/search/search.component.html +++ b/client/src/app/search/search.component.html | |||
@@ -22,10 +22,27 @@ | |||
22 | </div> | 22 | </div> |
23 | </div> | 23 | </div> |
24 | 24 | ||
25 | <div i18n *ngIf="pagination.totalItems === 0" class="no-result"> | 25 | <div i18n *ngIf="pagination.totalItems === 0 && videoChannels.length === 0" class="no-result"> |
26 | No results found | 26 | No results found |
27 | </div> | 27 | </div> |
28 | 28 | ||
29 | <div *ngFor="let videoChannel of videoChannels" class="entry video-channel"> | ||
30 | <a [routerLink]="[ '/video-channels', videoChannel.name ]"> | ||
31 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> | ||
32 | </a> | ||
33 | |||
34 | <div class="video-channel-info"> | ||
35 | <a [routerLink]="[ '/video-channels', videoChannel.name ]" class="video-channel-names"> | ||
36 | <div class="video-channel-display-name">{{ videoChannel.displayName }}</div> | ||
37 | <div class="video-channel-name">{{ videoChannel.name }}</div> | ||
38 | </a> | ||
39 | |||
40 | <div i18n class="video-channel-followers">{{ videoChannel.followersCount }} subscribers</div> | ||
41 | </div> | ||
42 | |||
43 | <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button> | ||
44 | </div> | ||
45 | |||
29 | <div *ngFor="let video of videos" class="entry video"> | 46 | <div *ngFor="let video of videos" class="entry video"> |
30 | <my-video-thumbnail [video]="video"></my-video-thumbnail> | 47 | <my-video-thumbnail [video]="video"></my-video-thumbnail> |
31 | 48 | ||