]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+accounts/accounts.component.html
Add user moderation in the account page
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.html
1 <div *ngIf="account" class="row">
2 <div class="sub-menu">
3
4 <div class="actor">
5 <img [src]="account.avatarUrl" alt="Avatar" />
6
7 <div class="actor-info">
8 <div class="actor-names">
9 <div class="actor-display-name">{{ account.displayName }}</div>
10 <div class="actor-name">{{ account.nameWithHost }}</div>
11
12 <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span>
13
14 <my-user-moderation-dropdown buttonSize="small" [user]="user" (userChanged)="onUserChanged()" (userDeleted)="onUserDeleted()">
15 </my-user-moderation-dropdown>
16 </div>
17 <div i18n class="actor-followers">{{ account.followersCount }} subscribers</div>
18 </div>
19 </div>
20
21 <div class="links">
22 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
23
24 <a i18n routerLink="video-channels" routerLinkActive="active" class="title-page">Video channels</a>
25
26 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
27 </div>
28 </div>
29
30 <div class="margin-content">
31 <router-outlet></router-outlet>
32 </div>
33 </div>