aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts/accounts.component.html
blob: 60dbcdf1db31c41c62a330d2f3d7cddc67d33c82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div *ngIf="account" class="row">
  <div class="sub-menu">

    <div class="actor">
      <img [src]="account.avatarUrl" alt="Avatar" />

      <div class="actor-info">
        <div class="actor-names">
          <div class="actor-display-name">{{ account.displayName }}</div>
          <div class="actor-name">{{ account.nameWithHost }}</div>

          <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span>
          <span *ngIf="account.muted" class="badge badge-danger" i18n>Muted</span>
          <span *ngIf="account.mutedServer" class="badge badge-danger" i18n>Instance muted</span>

          <my-user-moderation-dropdown
            buttonSize="small" [account]="account" [user]="user"
            (userChanged)="onUserChanged()" (userDeleted)="onUserDeleted()"
          >
          </my-user-moderation-dropdown>
        </div>
        <div i18n class="actor-followers">{{ account.followersCount }} subscribers</div>
      </div>
    </div>

    <div class="links">
      <a i18n routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>

      <a i18n routerLink="video-channels" routerLinkActive="active" class="title-page">Video channels</a>

      <a i18n routerLink="about" routerLinkActive="active" class="title-page">About</a>
    </div>
  </div>

  <div class="margin-content">
    <router-outlet></router-outlet>
  </div>
</div>