<div class="channel-info">
<ng-template #buttonsTemplate>
- <a *ngIf="isManageable()" [routerLink]="[ '/my-library/video-channels/update', videoChannel.nameWithHost ]" class="peertube-button-link orange-button" i18n>
- Manage channel
- </a>
+ <a *ngIf="isManageable()" [routerLink]="[ '/my-library/video-channels/update', videoChannel.nameWithHost ]" class="peertube-button-link orange-button" i18n>
+ Manage channel
+ </a>
- <my-subscribe-button *ngIf="!isManageable()" #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
+ <my-subscribe-button *ngIf="!isManageable()" #subscribeButton [videoChannels]="[videoChannel]"></my-subscribe-button>
- <button *ngIf="videoChannel.support" (click)="showSupportModal()" class="support-button peertube-button orange-button-inverted">
- <my-global-icon iconName="support" aria-hidden="true"></my-global-icon>
- <span class="icon-text" i18n>Support</span>
- </button>
+ <button *ngIf="videoChannel.support" (click)="showSupportModal()" class="support-button peertube-button orange-button-inverted">
+ <my-global-icon iconName="support" aria-hidden="true"></my-global-icon>
+ <span class="icon-text" i18n>Support</span>
+ </button>
</ng-template>
<ng-template #ownerTemplate>
<div class="owner-block">
+ <div class="section-label" i18n>OWNER ACCOUNT</div>
+
<div class="avatar-row">
- <a [routerLink]="getAccountUrl()" title="View account" i18n-title>
- <img class="account-avatar" [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
- </a>
+ <my-actor-avatar class="account-avatar" [account]="videoChannel.ownerAccount" [internalHref]="getAccountUrl()"></my-actor-avatar>
<div class="actor-info">
<h4>
</ng-template>
<div class="channel-avatar-row">
- <img class="channel-avatar" [src]="videoChannel.avatarUrl" alt="Avatar" />
+ <my-actor-avatar class="main-avatar" [channel]="videoChannel"></my-actor-avatar>
<div>
<div class="section-label" i18n>VIDEO CHANNEL</div>
</div>
<div class="owner-card">
- <div class="section-label" i18n>OWNER ACCOUNT</div>
-
<ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
</div>
</div>
<div class="bottom-owner">
- <div class="section-label" i18n>OWNER ACCOUNT</div>
-
<ng-template *ngTemplateOutlet="ownerTemplate"></ng-template>
</div>