]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/accounts.component.html
Fix is managaeble error
[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 10 <div class="actor-name">{{ account.nameWithHost }}
ee1d0dfb
C
11
12 <button ngxClipboard [cbContent]="account.nameWithHostForced" (click)="activateCopiedMessage()"
13 class="btn btn-outline-secondary btn-sm copy-button"
14 >
e379f813
NB
15 <span class="glyphicon glyphicon-copy"></span>
16 </button>
ee1d0dfb 17
e379f813 18 </div>
496b02e3 19 <span *ngIf="accountUser?.blocked" [ngbTooltip]="accountUser.blockedReason" class="badge badge-danger" i18n>Banned</span>
65b21c96 20 <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span>
075942b2
C
21 <span *ngIf="account.mutedServerByUser" class="badge badge-danger" i18n>Instance muted</span>
22 <span *ngIf="account.mutedByInstance" class="badge badge-danger" i18n>Muted by your instance</span>
65b21c96 23 <span *ngIf="account.mutedServerByInstance" class="badge badge-danger" i18n>Instance muted by your instance</span>
79bd2632 24
af5767ff 25 <my-user-moderation-dropdown
496b02e3 26 buttonSize="small" [account]="account" [user]="accountUser" placement="bottom-left auto"
af5767ff 27 (userChanged)="onUserChanged()" (userDeleted)="onUserDeleted()"
aa0f1963 28 ></my-user-moderation-dropdown>
7de6afdf 29 </div>
496b02e3 30 <div class="actor-followers" [title]="accountFollowerTitle">
a004ff17
RK
31 {{ subscribersDisplayFor(naiveAggregatedSubscribers) }}
32 </div>
0626e7af 33 </div>
41eb700f 34
aa0f1963 35 <div class="right-buttons">
496b02e3 36 <a *ngIf="isAccountManageable" routerLink="/my-account" class="btn btn-outline-tertiary mr-2" i18n>Manage</a>
aa0f1963
RK
37 <my-subscribe-button *ngIf="videoChannels" [account]="account" [videoChannels]="videoChannels"></my-subscribe-button>
38 </div>
0626e7af
C
39 </div>
40
41 <div class="links">
b1d40cff 42 <a i18n routerLink="video-channels" routerLinkActive="active" class="title-page">Video channels</a>
d3e91a5f 43
c8487f3f
C
44 <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>
45
b1d40cff 46 <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
0626e7af
C
47 </div>
48 </div>
49
50 <div class="margin-content">
51 <router-outlet></router-outlet>
52 </div>
53</div>