diff options
author | Florian CUNY <poslovitch@bentobox.world> | 2020-11-30 15:05:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 15:05:57 +0100 |
commit | f45c7cc770963670b3f2f1ac11d3ee3afc84a7ec (patch) | |
tree | 3e58515c37c49f353d14dc52957339d81ee0bb2a /client/src/app/+about/about-instance/about-instance.component.ts | |
parent | 972de8f111fcacf523cf33062dd734e498df1081 (diff) | |
download | PeerTube-f45c7cc770963670b3f2f1ac11d3ee3afc84a7ec.tar.gz PeerTube-f45c7cc770963670b3f2f1ac11d3ee3afc84a7ec.tar.zst PeerTube-f45c7cc770963670b3f2f1ac11d3ee3afc84a7ec.zip |
Added Markdown formatting in all the fields of the "About" page (#3371)
* Added Markdown formatting in all the fields of the "About" page
Fixes https://github.com/Chocobozzz/PeerTube/issues/3368
* Fixed compilation error in AboutInstanceComponent
Moved creationReason, maintenanceLifetime and businessModel into the html dict
* Removed textareaHeight for all md textareas in EditCustomConfig HTML
* Fixed failing bundlewatch
Diffstat (limited to 'client/src/app/+about/about-instance/about-instance.component.ts')
-rw-r--r-- | client/src/app/+about/about-instance/about-instance.component.ts | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/client/src/app/+about/about-instance/about-instance.component.ts b/client/src/app/+about/about-instance/about-instance.component.ts index 92ecd5263..7eb382a46 100644 --- a/client/src/app/+about/about-instance/about-instance.component.ts +++ b/client/src/app/+about/about-instance/about-instance.component.ts | |||
@@ -24,13 +24,12 @@ export class AboutInstanceComponent implements OnInit, AfterViewChecked { | |||
24 | codeOfConduct: '', | 24 | codeOfConduct: '', |
25 | moderationInformation: '', | 25 | moderationInformation: '', |
26 | administrator: '', | 26 | administrator: '', |
27 | creationReason: '', | ||
28 | maintenanceLifetime: '', | ||
29 | businessModel: '', | ||
27 | hardwareInformation: '' | 30 | hardwareInformation: '' |
28 | } | 31 | } |
29 | 32 | ||
30 | creationReason = '' | ||
31 | maintenanceLifetime = '' | ||
32 | businessModel = '' | ||
33 | |||
34 | languages: string[] = [] | 33 | languages: string[] = [] |
35 | categories: string[] = [] | 34 | categories: string[] = [] |
36 | 35 | ||
@@ -69,10 +68,6 @@ export class AboutInstanceComponent implements OnInit, AfterViewChecked { | |||
69 | 68 | ||
70 | this.shortDescription = about.instance.shortDescription | 69 | this.shortDescription = about.instance.shortDescription |
71 | 70 | ||
72 | this.creationReason = about.instance.creationReason | ||
73 | this.maintenanceLifetime = about.instance.maintenanceLifetime | ||
74 | this.businessModel = about.instance.businessModel | ||
75 | |||
76 | this.html = await this.instanceService.buildHtml(about) | 71 | this.html = await this.instanceService.buildHtml(about) |
77 | 72 | ||
78 | this.initialized = true | 73 | this.initialized = true |