aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-05 14:42:59 +0200
committerChocobozzz <me@florianbigard.com>2018-09-05 14:42:59 +0200
commit4c8e4e04d1b3f0f207e9155df393ceeb23dc2172 (patch)
treee873838b8547576f73390b14606feb7f5080a293 /client/src/app/+my-account/my-account.component.html
parentc182527a6c6e01bd5cd32b212026c3176ecbe63d (diff)
downloadPeerTube-4c8e4e04d1b3f0f207e9155df393ceeb23dc2172.tar.gz
PeerTube-4c8e4e04d1b3f0f207e9155df393ceeb23dc2172.tar.zst
PeerTube-4c8e4e04d1b3f0f207e9155df393ceeb23dc2172.zip
Use dropdown in my account -> "my library"
Diffstat (limited to 'client/src/app/+my-account/my-account.component.html')
-rw-r--r--client/src/app/+my-account/my-account.component.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/client/src/app/+my-account/my-account.component.html b/client/src/app/+my-account/my-account.component.html
index b79e61bef..b602fd69f 100644
--- a/client/src/app/+my-account/my-account.component.html
+++ b/client/src/app/+my-account/my-account.component.html
@@ -2,13 +2,22 @@
2 <div class="sub-menu"> 2 <div class="sub-menu">
3 <a i18n routerLink="/my-account/settings" routerLinkActive="active" class="title-page">My settings</a> 3 <a i18n routerLink="/my-account/settings" routerLinkActive="active" class="title-page">My settings</a>
4 4
5 <a i18n routerLink="/my-account/video-channels" routerLinkActive="active" class="title-page">My channels</a> 5 <div ngbDropdown class="my-library">
6 <span role="button" class="title-page" [ngClass]="{ active: libraryLabel !== '' }" ngbDropdownToggle>
7 <ng-container i18n>My library</ng-container>
8 <ng-container *ngIf="libraryLabel"> - {{ libraryLabel }}</ng-container>
9 </span>
6 10
7 <a i18n routerLink="/my-account/videos" routerLinkActive="active" class="title-page">My videos</a> 11 <div ngbDropdownMenu>
12 <a class="dropdown-item" i18n routerLink="/my-account/video-channels">My channels</a>
8 13
9 <a i18n routerLink="/my-account/subscriptions" routerLinkActive="active" class="title-page">My subscriptions</a> 14 <a class="dropdown-item" i18n routerLink="/my-account/videos">My videos</a>
10 15
11 <a *ngIf="isVideoImportEnabled()" i18n routerLink="/my-account/video-imports" routerLinkActive="active" class="title-page">My imports</a> 16 <a class="dropdown-item" i18n routerLink="/my-account/subscriptions">My subscriptions</a>
17
18 <a class="dropdown-item" *ngIf="isVideoImportEnabled()" i18n routerLink="/my-account/video-imports">My imports</a>
19 </div>
20 </div>
12 21
13 <a i18n routerLink="/my-account/ownership" routerLinkActive="active" class="title-page">Ownership changes</a> 22 <a i18n routerLink="/my-account/ownership" routerLinkActive="active" class="title-page">Ownership changes</a>
14 </div> 23 </div>