aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu/menu.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/menu/menu.component.html')
-rw-r--r--client/src/app/menu/menu.component.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index 87d8d86d4..f748a47d5 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -16,58 +16,58 @@
16 16
17 <div ngbDropdownMenu> 17 <div ngbDropdownMenu>
18 <a *ngIf="user.account" ngbDropdownItem ngbDropdownToggle class="dropdown-item" [routerLink]="[ '/accounts', user.account.nameWithHost ]"> 18 <a *ngIf="user.account" ngbDropdownItem ngbDropdownToggle class="dropdown-item" [routerLink]="[ '/accounts', user.account.nameWithHost ]">
19 <my-global-icon iconName="go"></my-global-icon> <ng-container i18n>Public profile</ng-container> 19 <my-global-icon iconName="go" aria-hidden="true"></my-global-icon> <ng-container i18n>Public profile</ng-container>
20 </a> 20 </a>
21 21
22 <div class="dropdown-divider"></div> 22 <div class="dropdown-divider"></div>
23 23
24 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account"> 24 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account">
25 <my-global-icon iconName="user"></my-global-icon> <ng-container i18n>Account settings</ng-container> 25 <my-global-icon iconName="user" aria-hidden="true"></my-global-icon> <ng-container i18n>Account settings</ng-container>
26 </a> 26 </a>
27 27
28 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/video-channels"> 28 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/video-channels">
29 <my-global-icon iconName="folder"></my-global-icon> <ng-container i18n>Channels settings</ng-container> 29 <my-global-icon iconName="folder" aria-hidden="true"></my-global-icon> <ng-container i18n>Channels settings</ng-container>
30 </a> 30 </a>
31 31
32 <div class="dropdown-divider"></div> 32 <div class="dropdown-divider"></div>
33 33
34 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openLanguageChooser()"> 34 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openLanguageChooser()">
35 <my-global-icon iconName="language"></my-global-icon> 35 <my-global-icon iconName="language" aria-hidden="true"></my-global-icon>
36 <ng-container i18n>Interface: {{ language }}</ng-container> 36 <ng-container i18n>Interface: {{ language }}</ng-container>
37 <i class="ml-auto glyphicon glyphicon-menu-right"></i> 37 <i class="ml-auto glyphicon glyphicon-menu-right"></i>
38 </a> 38 </a>
39 39
40 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-settings"> 40 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-settings">
41 <my-global-icon iconName="video-lang"></my-global-icon> 41 <my-global-icon iconName="video-lang" aria-hidden="true"></my-global-icon>
42 <ng-container i18n>Videos: {{ videoLanguages.join(', ') }}</ng-container> 42 <ng-container i18n>Videos: {{ videoLanguages.join(', ') }}</ng-container>
43 <i class="ml-auto glyphicon glyphicon-menu-right"></i> 43 <i class="ml-auto glyphicon glyphicon-menu-right"></i>
44 </a> 44 </a>
45 45
46 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-settings"> 46 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account/settings" fragment="video-settings">
47 <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy === 'display' }" iconName="sensitive"></my-global-icon> 47 <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy === 'display' }" iconName="sensitive" aria-hidden="true"></my-global-icon>
48 <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy !== 'display' }" iconName="unsensitive"></my-global-icon> 48 <my-global-icon class="hover-display-toggle" [ngClass]="{ 'not-displayed': user.nsfwPolicy !== 'display' }" iconName="unsensitive" aria-hidden="true"></my-global-icon>
49 <ng-container i18n>Sensitive: {{ nsfwPolicy }}</ng-container> 49 <ng-container i18n>Sensitive: {{ nsfwPolicy }}</ng-container>
50 <i class="ml-auto glyphicon glyphicon-menu-right"></i> 50 <i class="ml-auto glyphicon glyphicon-menu-right"></i>
51 </a> 51 </a>
52 52
53 <a ngbDropdownItem class="dropdown-item" (click)="toggleUseP2P()"> 53 <a ngbDropdownItem class="dropdown-item" (click)="toggleUseP2P()">
54 <my-global-icon iconName="p2p"></my-global-icon> 54 <my-global-icon iconName="p2p" aria-hidden="true"></my-global-icon>
55 <ng-container i18n>Help share videos</ng-container> 55 <ng-container i18n>Help share videos</ng-container>
56 <input type="checkbox" [checked]="user.webTorrentEnabled"/><label class="ml-auto" for="switch">Toggle p2p</label> 56 <input type="checkbox" [checked]="user.webTorrentEnabled"/><label class="ml-auto" for="switch">Toggle p2p</label>
57 </a> 57 </a>
58 58
59 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account"> 59 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" routerLink="/my-account">
60 <my-global-icon iconName="more-horizontal"></my-global-icon> <ng-container i18n>More account settings</ng-container> 60 <my-global-icon iconName="more-horizontal" aria-hidden="true"></my-global-icon> <ng-container i18n>More account settings</ng-container>
61 </a> 61 </a>
62 62
63 <div class="dropdown-divider"></div> 63 <div class="dropdown-divider"></div>
64 64
65 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openHotkeysCheatSheet()"> 65 <a ngbDropdownItem ngbDropdownToggle class="dropdown-item" (click)="openHotkeysCheatSheet()">
66 <i class="icon icon-shortcuts"></i> <ng-container i18n>Keyboard shortcuts</ng-container> 66 <i class="icon icon-shortcuts" aria-hidden="true"></i> <ng-container i18n>Keyboard shortcuts</ng-container>
67 </a> 67 </a>
68 68
69 <a ngbDropdownItem ngbDropdownToggle (click)="logout($event)" class="dropdown-item" href="#"> 69 <a ngbDropdownItem ngbDropdownToggle (click)="logout($event)" class="dropdown-item" href="#">
70 <my-global-icon iconName="sign-out"></my-global-icon> <ng-container i18n>Log out</ng-container> 70 <my-global-icon iconName="sign-out" aria-hidden="true"></my-global-icon> <ng-container i18n>Log out</ng-container>
71 </a> 71 </a>
72 </div> 72 </div>
73 </div> 73 </div>
@@ -82,22 +82,22 @@
82 <div i18n class="block-title">MY LIBRARY</div> 82 <div i18n class="block-title">MY LIBRARY</div>
83 83
84 <a routerLink="/my-account/videos" routerLinkActive="active"> 84 <a routerLink="/my-account/videos" routerLinkActive="active">
85 <my-global-icon iconName="videos"></my-global-icon> 85 <my-global-icon iconName="videos" aria-hidden="true"></my-global-icon>
86 <ng-container i18n>Videos</ng-container> 86 <ng-container i18n>Videos</ng-container>
87 </a> 87 </a>
88 88
89 <a routerLink="/my-account/video-playlists" routerLinkActive="active"> 89 <a routerLink="/my-account/video-playlists" routerLinkActive="active">
90 <my-global-icon iconName="playlists"></my-global-icon> 90 <my-global-icon iconName="playlists" aria-hidden="true"></my-global-icon>
91 <ng-container i18n>Playlists</ng-container> 91 <ng-container i18n>Playlists</ng-container>
92 </a> 92 </a>
93 93
94 <a routerLink="/videos/subscriptions" routerLinkActive="active"> 94 <a routerLink="/videos/subscriptions" routerLinkActive="active">
95 <my-global-icon iconName="subscriptions"></my-global-icon> 95 <my-global-icon iconName="subscriptions" aria-hidden="true"></my-global-icon>
96 <ng-container i18n>Subscriptions</ng-container> 96 <ng-container i18n>Subscriptions</ng-container>
97 </a> 97 </a>
98 98
99 <a routerLink="/my-account/history/videos" routerLinkActive="active"> 99 <a routerLink="/my-account/history/videos" routerLinkActive="active">
100 <my-global-icon iconName="history"></my-global-icon> 100 <my-global-icon iconName="history" aria-hidden="true"></my-global-icon>
101 <ng-container i18n>History</ng-container> 101 <ng-container i18n>History</ng-container>
102 </a> 102 </a>
103 103
@@ -107,27 +107,27 @@
107 <div i18n class="block-title">VIDEOS</div> 107 <div i18n class="block-title">VIDEOS</div>
108 108
109 <a routerLink="/videos/overview" routerLinkActive="active"> 109 <a routerLink="/videos/overview" routerLinkActive="active">
110 <my-global-icon iconName="globe"></my-global-icon> 110 <my-global-icon iconName="globe" aria-hidden="true"></my-global-icon>
111 <ng-container i18n>Discover</ng-container> 111 <ng-container i18n>Discover</ng-container>
112 </a> 112 </a>
113 113
114 <a routerLink="/videos/trending" routerLinkActive="active"> 114 <a routerLink="/videos/trending" routerLinkActive="active">
115 <my-global-icon iconName="trending"></my-global-icon> 115 <my-global-icon iconName="trending" aria-hidden="true"></my-global-icon>
116 <ng-container i18n>Trending</ng-container> 116 <ng-container i18n>Trending</ng-container>
117 </a> 117 </a>
118 118
119 <a routerLink="/videos/most-liked" routerLinkActive="active"> 119 <a routerLink="/videos/most-liked" routerLinkActive="active">
120 <my-global-icon iconName="like"></my-global-icon> 120 <my-global-icon iconName="like" aria-hidden="true"></my-global-icon>
121 <ng-container i18n>Most liked</ng-container> 121 <ng-container i18n>Most liked</ng-container>
122 </a> 122 </a>
123 123
124 <a routerLink="/videos/recently-added" routerLinkActive="active"> 124 <a routerLink="/videos/recently-added" routerLinkActive="active">
125 <my-global-icon iconName="recently-added"></my-global-icon> 125 <my-global-icon iconName="recently-added" aria-hidden="true"></my-global-icon>
126 <ng-container i18n>Recently added</ng-container> 126 <ng-container i18n>Recently added</ng-container>
127 </a> 127 </a>
128 128
129 <a routerLink="/videos/local" routerLinkActive="active"> 129 <a routerLink="/videos/local" routerLinkActive="active">
130 <my-global-icon iconName="home"></my-global-icon> 130 <my-global-icon iconName="home" aria-hidden="true"></my-global-icon>
131 <ng-container i18n>Local</ng-container> 131 <ng-container i18n>Local</ng-container>
132 </a> 132 </a>
133 </div> 133 </div>
@@ -136,15 +136,15 @@
136 <div class="footer"> 136 <div class="footer">
137 <div class="panel-block"> 137 <div class="panel-block">
138 <a *ngIf="userHasAdminAccess" [routerLink]="getFirstAdminRouteAvailable()" routerLinkActive="active"> 138 <a *ngIf="userHasAdminAccess" [routerLink]="getFirstAdminRouteAvailable()" routerLinkActive="active">
139 <my-global-icon iconName="cog"></my-global-icon> 139 <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon>
140 <ng-container i18n>Administration</ng-container> 140 <ng-container i18n>Administration</ng-container>
141 </a> 141 </a>
142 <a *ngIf="!isLoggedIn" (click)="openQuickSettings()"> 142 <a *ngIf="!isLoggedIn" (click)="openQuickSettings()">
143 <my-global-icon iconName="cog"></my-global-icon> 143 <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon>
144 <ng-container i18n>Settings</ng-container> 144 <ng-container i18n>Settings</ng-container>
145 </a> 145 </a>
146 <a routerLink="/about/instance"> 146 <a routerLink="/about/instance">
147 <my-global-icon iconName="help"></my-global-icon> 147 <my-global-icon iconName="help" aria-hidden="true"></my-global-icon>
148 <ng-container i18n>About</ng-container> 148 <ng-container i18n>About</ng-container>
149 </a> 149 </a>
150 </div> 150 </div>