From 4e1592daa41f81667f914f37d36795e8c6c046c3 Mon Sep 17 00:00:00 2001 From: Ms Kimsible <1877318+kimsible@users.noreply.github.com> Date: Wed, 25 Aug 2021 11:38:10 +0200 Subject: Alert user for low quota and video auto-block on upload page (#4336) * Replace wording of instance contact * Add contact-us button to no-quota alert on upload page * Add alert for accounts with auto-blocked videos on upload page * Add alert for accounts without enough quota + refacto on upload page * Using ng-container and ng-template * Add alert for daily quota * Add hook filter for upload page alert messages * Add instance name as subtitle in contact modal * Fix eslint max-len on string * Fix missing word in quota left daily message - upload page Co-authored-by: Kimsible --- shared/models/plugins/client/client-hook.model.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/models/plugins/client') diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index cedd1be61..aafc8c72b 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts @@ -58,6 +58,9 @@ export const clientFilterHookObject = { // Filter left menu links 'filter:left-menu.links.create.result': true, + // Filter upload page alert messages + 'filter:upload-page.alert-messages.edit.result': true, + // Filter videojs options built for PeerTube player 'filter:internal.player.videojs.options.result': true } -- cgit v1.2.3