Remove old videos path hotkeys

This commit is contained in:
Chocobozzz 2024-12-23 15:48:13 +01:00
parent 40f4c30149
commit 2215814e9c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 6 additions and 16 deletions

View File

@ -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">

View File

@ -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`)
])
}