diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.html | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.html b/client/src/app/+videos/+video-watch/video-watch.component.html index 0447268f0..fb6d08167 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html | |||
@@ -144,15 +144,23 @@ | |||
144 | 144 | ||
145 | <div class="pt-3 border-top video-info-channel d-flex"> | 145 | <div class="pt-3 border-top video-info-channel d-flex"> |
146 | <div class="video-info-channel-left d-flex"> | 146 | <div class="video-info-channel-left d-flex"> |
147 | <avatar-channel [video]="video"></avatar-channel> | 147 | <avatar-channel [video]="video" [genericChannel]="isChannelDisplayNameGeneric()"></avatar-channel> |
148 | 148 | ||
149 | <div class="video-info-channel-left-links ml-1"> | 149 | <div class="video-info-channel-left-links ml-1"> |
150 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Channel page"> | 150 | <ng-container *ngIf="!isChannelDisplayNameGeneric()"> |
151 | {{ video.channel.displayName }} | 151 | <a [routerLink]="[ '/video-channels', video.byVideoChannel ]" i18n-title title="Channel page"> |
152 | </a> | 152 | {{ video.channel.displayName }} |
153 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Account page"> | 153 | </a> |
154 | <span i18n>By {{ video.byAccount }}</span> | 154 | <a [routerLink]="[ '/accounts', video.byAccount ]" i18n-title title="Account page"> |
155 | </a> | 155 | <span i18n>By {{ video.byAccount }}</span> |
156 | </a> | ||
157 | </ng-container> | ||
158 | |||
159 | <ng-container *ngIf="isChannelDisplayNameGeneric()"> | ||
160 | <a [routerLink]="[ '/accounts', video.byAccount ]" class="single-link" i18n-title title="Account page"> | ||
161 | <span i18n>{{ video.byAccount }}</span> | ||
162 | </a> | ||
163 | </ng-container> | ||
156 | </div> | 164 | </div> |
157 | </div> | 165 | </div> |
158 | 166 | ||