]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html
Fix regression my-account menu overflow-x on screen width < 800px (#2707)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channels.component.html
CommitLineData
08c1efbe
C
1<div class="video-channels-header">
2 <a class="create-button" routerLink="create">
457bb213 3 <my-global-icon iconName="add"></my-global-icon>
8c966daa 4 <ng-container i18n>Create video channel</ng-container>
08c1efbe
C
5 </a>
6</div>
7
8<div class="video-channels">
8165d00a 9 <div *ngFor="let videoChannel of videoChannels; let i = index" class="video-channel">
f5b0af50 10 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]">
08c1efbe
C
11 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
12 </a>
13
14 <div class="video-channel-info">
f5b0af50 15 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]" class="video-channel-names" i18n-title title="Go to the channel">
08c1efbe 16 <div class="video-channel-display-name">{{ videoChannel.displayName }}</div>
f5b0af50 17 <div class="video-channel-name">{{ videoChannel.nameWithHost }}</div>
08c1efbe
C
18 </a>
19
8165d00a
RK
20 <div i18n class="video-channel-followers">{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
21
22 <div *ngIf="!isInSmallView" class="w-100 d-flex justify-content-end">
3d527ba1 23 <p-chart *ngIf="videoChannelsChartData && videoChannelsChartData[i]" type="line" [data]="videoChannelsChartData[i]" [options]="chartOptions" width="40vw" height="100px"></p-chart>
8165d00a 24 </div>
08c1efbe
C
25 </div>
26
27 <div class="video-channel-buttons">
f5b0af50 28 <my-edit-button [routerLink]="[ 'update', videoChannel.nameWithHost ]"></my-edit-button>
8165d00a 29 <my-delete-button (click)="deleteVideoChannel(videoChannel)"></my-delete-button>
08c1efbe
C
30 </div>
31 </div>
32</div>