aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorMs Kimsible <1877318+kimsible@users.noreply.github.com>2021-08-25 11:38:10 +0200
committerGitHub <noreply@github.com>2021-08-25 11:38:10 +0200
commit4e1592daa41f81667f914f37d36795e8c6c046c3 (patch)
tree8bed3af237b6d5d4da08af989c3824a168e6f3b6 /shared/models
parent644800ef5588e08da2a8227f6d72751d3dca85db (diff)
downloadPeerTube-4e1592daa41f81667f914f37d36795e8c6c046c3.tar.gz
PeerTube-4e1592daa41f81667f914f37d36795e8c6c046c3.tar.zst
PeerTube-4e1592daa41f81667f914f37d36795e8c6c046c3.zip
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 <kimsible@users.noreply.github.com>
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/client/client-hook.model.ts3
1 files changed, 3 insertions, 0 deletions
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 = {
58 // Filter left menu links 58 // Filter left menu links
59 'filter:left-menu.links.create.result': true, 59 'filter:left-menu.links.create.result': true,
60 60
61 // Filter upload page alert messages
62 'filter:upload-page.alert-messages.edit.result': true,
63
61 // Filter videojs options built for PeerTube player 64 // Filter videojs options built for PeerTube player
62 'filter:internal.player.videojs.options.result': true 65 'filter:internal.player.videojs.options.result': true
63} 66}