aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-08 09:13:42 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-08 10:07:53 +0200
commit02dd4f3c65536699cec47c7d4054889fd81b5cd4 (patch)
tree8ffdd7efec33c52aa5aa1e0f323e902dac28cfeb /client/src/app/shared
parentcdeddff142fd20f8cb8bb346625909d61c596603 (diff)
downloadPeerTube-02dd4f3c65536699cec47c7d4054889fd81b5cd4.tar.gz
PeerTube-02dd4f3c65536699cec47c7d4054889fd81b5cd4.tar.zst
PeerTube-02dd4f3c65536699cec47c7d4054889fd81b5cd4.zip
Display banner on channel page
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts b/client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts
index b92ecef4b..48451744c 100644
--- a/client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts
+++ b/client/src/app/shared/shared-actor-image/actor-banner-edit.component.ts
@@ -36,7 +36,8 @@ export class ActorBannerEditComponent implements OnInit {
36 this.maxBannerSize = config.banner.file.size.max 36 this.maxBannerSize = config.banner.file.size.max
37 this.bannerExtensions = config.banner.file.extensions.join(', ') 37 this.bannerExtensions = config.banner.file.extensions.join(', ')
38 38
39 this.bannerFormat = $localize`maxsize: ${getBytes(this.maxBannerSize)}, extensions: ${this.bannerExtensions}` 39 // tslint:disable:max-line-length
40 this.bannerFormat = $localize`ratio 6/1, recommended size: 1600x266, max size: ${getBytes(this.maxBannerSize)}, extensions: ${this.bannerExtensions}`
40 }) 41 })
41 } 42 }
42 43