]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/accounts.component.html
Add language filters in user preferences
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.html
CommitLineData
0626e7af
C
1<div *ngIf="account" class="row">
2 <div class="sub-menu">
3
170726f5 4 <div class="actor">
d3e91a5f 5 <img [src]="account.avatarUrl" alt="Avatar" />
0626e7af 6
170726f5 7 <div class="actor-info">
7de6afdf
C
8 <div class="actor-names">
9 <div class="actor-display-name">{{ account.displayName }}</div>
e379f813
NB
10 <div class="actor-name">{{ account.nameWithHost }}
11 <button ngxClipboard [cbContent]="account.nameWithHostForced" type="button" class="btn btn-outline-secondary btn-sm">
12 <span class="glyphicon glyphicon-copy"></span>
13 </button>
14 </div>
79bd2632 15 <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span>
65b21c96
C
16 <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span>
17 <span *ngIf="account.mutedServerByUser" class="badge badge-danger" i18n>Muted by your instance</span>
18 <span *ngIf="account.mutedByInstance" class="badge badge-danger" i18n>Instance muted</span>
19 <span *ngIf="account.mutedServerByInstance" class="badge badge-danger" i18n>Instance muted by your instance</span>
79bd2632 20
af5767ff
C
21 <my-user-moderation-dropdown
22 buttonSize="small" [account]="account" [user]="user"
23 (userChanged)="onUserChanged()" (userDeleted)="onUserDeleted()"
24 >
79bd2632 25 </my-user-moderation-dropdown>
7de6afdf 26 </div>
b1d40cff 27 <div i18n class="actor-followers">{{ account.followersCount }} subscribers</div>
0626e7af
C
28 </div>
29 </div>
30
31 <div class="links">
b1d40cff 32 <a i18n routerLink="video-channels" routerLinkActive="active" class="title-page">Video channels</a>
d3e91a5f 33
c8487f3f
C
34 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
35
b1d40cff 36 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
0626e7af
C
37 </div>
38 </div>
39
40 <div class="margin-content">
41 <router-outlet></router-outlet>
42 </div>
43</div>