Remove old videos path hotkeys
This commit is contained in:
parent
40f4c30149
commit
2215814e9c
|
@ -63,7 +63,7 @@
|
|||
|
||||
<div class="pt-two-cols mt-5" *ngIf="user.pluginAuth === null"> <!-- two factor auth grid -->
|
||||
<div class="title-col">
|
||||
<h2 i18n>Two-factor authentication</h2>
|
||||
<h2 i18n>TWO-FACTOR AUTHENTICATION</h2>
|
||||
</div>
|
||||
|
||||
<div class="content-col">
|
||||
|
|
|
@ -333,27 +333,17 @@ export class AppComponent implements OnInit, AfterViewInit {
|
|||
new Hotkey('g o', () => {
|
||||
this.router.navigate([ '/videos/overview' ])
|
||||
return false
|
||||
}, $localize`Go to the discover videos page`),
|
||||
}, $localize`Go to the "Discover videos" page`),
|
||||
|
||||
new Hotkey('g t', () => {
|
||||
this.router.navigate([ '/videos/trending' ])
|
||||
new Hotkey('g v', () => {
|
||||
this.router.navigate([ '/videos/browse' ])
|
||||
return false
|
||||
}, $localize`Go to the trending videos page`),
|
||||
|
||||
new Hotkey('g r', () => {
|
||||
this.router.navigate([ '/videos/recently-added' ])
|
||||
return false
|
||||
}, $localize`Go to the recently added videos page`),
|
||||
|
||||
new Hotkey('g l', () => {
|
||||
this.router.navigate([ '/videos/local' ])
|
||||
return false
|
||||
}, $localize`Go to the local videos page`),
|
||||
}, $localize`Go to the "Browse videos" page`),
|
||||
|
||||
new Hotkey('g u', () => {
|
||||
this.router.navigate([ '/videos/upload' ])
|
||||
return false
|
||||
}, $localize`Go to the videos upload page`)
|
||||
}, $localize`Go to the "Publish video" page`)
|
||||
])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue