diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 21:27:37 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-15 21:58:11 +0100 |
commit | dd4f25eea802fd88ea641d730432b56f562e0861 (patch) | |
tree | 72ead957524555827f4531fb00f90bf3f5e633c1 /client/src/app/shared/channel/avatar.component.html | |
parent | 44efbebac43c2bac75744399dc1176dce7ba3277 (diff) | |
download | PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.gz PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.tar.zst PeerTube-dd4f25eea802fd88ea641d730432b56f562e0861.zip |
add channel avatar to watch view
Diffstat (limited to 'client/src/app/shared/channel/avatar.component.html')
-rw-r--r-- | client/src/app/shared/channel/avatar.component.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/shared/channel/avatar.component.html b/client/src/app/shared/channel/avatar.component.html new file mode 100644 index 000000000..362feacd7 --- /dev/null +++ b/client/src/app/shared/channel/avatar.component.html | |||
@@ -0,0 +1,8 @@ | |||
1 | <div class="wrapper"> | ||
2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Go the channel page"> | ||
3 | <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> | ||
4 | </a> | ||
5 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Go to the account page"> | ||
6 | <img [src]="video.accountAvatarUrl" alt="Account avatar" /> | ||
7 | </a> | ||
8 | </div> | ||