mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Add ability to set custom markdown in description
This commit is contained in:
parent
15f35256af
commit
8ee25e17b8
34 changed files with 118 additions and 48 deletions
|
@ -23,7 +23,6 @@ export class InstanceAboutAccordionComponent implements OnInit {
|
|||
|
||||
about: About
|
||||
aboutHtml = {
|
||||
description: '',
|
||||
terms: '',
|
||||
codeOfConduct: '',
|
||||
moderationInformation: '',
|
||||
|
|
|
@ -40,7 +40,6 @@ export class InstanceService {
|
|||
|
||||
async buildHtml (about: About) {
|
||||
const html = {
|
||||
description: '',
|
||||
terms: '',
|
||||
codeOfConduct: '',
|
||||
moderationInformation: '',
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
import { NgModule } from '@angular/core'
|
||||
import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap'
|
||||
import { SharedCustomMarkupModule } from '../shared-custom-markup'
|
||||
import { SharedMainModule } from '../shared-main/shared-main.module'
|
||||
import { FeatureBooleanComponent } from './feature-boolean.component'
|
||||
import { InstanceAboutAccordionComponent } from './instance-about-accordion.component'
|
||||
|
@ -12,7 +13,8 @@ import { InstanceService } from './instance.service'
|
|||
@NgModule({
|
||||
imports: [
|
||||
SharedMainModule,
|
||||
NgbAccordionModule
|
||||
NgbAccordionModule,
|
||||
SharedCustomMarkupModule
|
||||
],
|
||||
|
||||
declarations: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue