From: Rigel Kent Date: Tue, 7 Jan 2020 11:12:39 +0000 (+0100) Subject: Add button in subscriptions to go to subscriptions list X-Git-Tag: v2.1.0-rc.1~95 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13adf228d0cc48995cf70c0a782a1d717873f6e0;p=oweals%2Fpeertube.git Add button in subscriptions to go to subscriptions list --- diff --git a/client/src/app/shared/video/abstract-video-list.html b/client/src/app/shared/video/abstract-video-list.html index 13aedcc74..3abc4312f 100644 --- a/client/src/app/shared/video/abstract-video-list.html +++ b/client/src/app/shared/video/abstract-video-list.html @@ -4,9 +4,17 @@
{{ titlePage }}
+ - +
+ + + +
() protected serverConfig: ServerConfig diff --git a/client/src/app/videos/video-list/video-user-subscriptions.component.ts b/client/src/app/videos/video-list/video-user-subscriptions.component.ts index b36c85766..0cd67db29 100644 --- a/client/src/app/videos/video-list/video-user-subscriptions.component.ts +++ b/client/src/app/videos/video-list/video-user-subscriptions.component.ts @@ -36,6 +36,11 @@ export class VideoUserSubscriptionsComponent extends AbstractVideoList implement super() this.titlePage = i18n('Videos from your subscriptions') + this.actions.push({ + routerLink: '/my-account/subscriptions', + label: i18n('Subscriptions'), + iconName: 'cog' + }) } ngOnInit () {