aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account.component.html
blob: 41333c25a78787728dab52aca0957c03b8168369 (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
39
40
41
42
<div class="row">
  <div class="sub-menu">
    <a i18n routerLink="/my-account/settings" routerLinkActive="active" class="title-page">My settings</a>

    <div ngbDropdown class="my-library">
      <span role="button" class="title-page" [ngClass]="{ active: libraryLabel !== '' }" ngbDropdownToggle>
        <ng-container i18n>My library</ng-container>
        <ng-container *ngIf="libraryLabel"> - {{ libraryLabel }}</ng-container>
      </span>

      <div ngbDropdownMenu>
        <a class="dropdown-item" i18n routerLink="/my-account/video-channels">My channels</a>

        <a class="dropdown-item" i18n routerLink="/my-account/videos">My videos</a>

        <a class="dropdown-item" i18n routerLink="/my-account/subscriptions">My subscriptions</a>

        <a class="dropdown-item" *ngIf="isVideoImportEnabled()" i18n routerLink="/my-account/video-imports">My imports</a>
      </div>
    </div>

    <div ngbDropdown class="misc">
      <span role="button" class="title-page" [ngClass]="{ active: miscLabel !== '' }" ngbDropdownToggle>
        <ng-container i18n>Misc</ng-container>
        <ng-container *ngIf="miscLabel"> - {{ miscLabel }}</ng-container>
      </span>

      <div ngbDropdownMenu>
        <a class="dropdown-item" i18n routerLink="/my-account/blocklist/accounts">Muted accounts</a>

        <a class="dropdown-item" i18n routerLink="/my-account/blocklist/servers">Muted instances</a>

        <a class="dropdown-item" i18n routerLink="/my-account/ownership">Ownership changes</a>
      </div>
    </div>

  </div>

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