Welcome to the {{ instanceName }} instance
</div>
+ <div class="short-description">
+ <div>{{ shortDescription }}</div>
+ </div>
+
<div class="description">
<div class="section-title">Description</div>
margin-bottom: 5px;
}
-.description, .terms, .signup {
+.short-description, .description, .terms, .signup {
margin-bottom: 30px;
}
})
export class AboutComponent implements OnInit {
+ shortDescription = ''
descriptionHTML = ''
termsHTML = ''
this.serverService.getAbout()
.subscribe(
res => {
+ this.shortDescription = res.instance.shortDescription
this.descriptionHTML = this.markdownService.textMarkdownToHTML(res.instance.description)
this.termsHTML = this.markdownService.textMarkdownToHTML(res.instance.terms)
},