diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-08 08:52:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 08:52:06 +0200 |
commit | c2caa99b942dea7fa9d2856f53efd1316169658e (patch) | |
tree | 76dfa301d6fef72f6bdab38b2bf33bbac7cdb5b6 /client/src/app/shared/channel/avatar.component.html | |
parent | c87d45df9b2f0d018d866d096c45ab70269105a5 (diff) | |
download | PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.tar.gz PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.tar.zst PeerTube-c2caa99b942dea7fa9d2856f53efd1316169658e.zip |
Add channel/account avatars in miniature (#2838)
* add small avatar to miniature
* fix svg size for trending and search icons in plugins view
* parametrize avatar in miniature display options
Diffstat (limited to 'client/src/app/shared/channel/avatar.component.html')
-rw-r--r-- | client/src/app/shared/channel/avatar.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/channel/avatar.component.html b/client/src/app/shared/channel/avatar.component.html index 362feacd7..062ef5bde 100644 --- a/client/src/app/shared/channel/avatar.component.html +++ b/client/src/app/shared/channel/avatar.component.html | |||
@@ -1,8 +1,8 @@ | |||
1 | <div class="wrapper"> | 1 | <div class="wrapper" [ngClass]="'avatar-' + size"> |
2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Go the channel page"> | 2 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" [title]="channelLinkTitle"> |
3 | <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> | 3 | <img [src]="video.videoChannelAvatarUrl" alt="Channel avatar" /> |
4 | </a> | 4 | </a> |
5 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Go to the account page"> | 5 | <a [routerLink]="[ '/accounts', video.byAccount ]" [title]="accountLinkTitle"> |
6 | <img [src]="video.accountAvatarUrl" alt="Account avatar" /> | 6 | <img [src]="video.accountAvatarUrl" alt="Account avatar" /> |
7 | </a> | 7 | </a> |
8 | </div> | 8 | </div> |