diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-28 10:22:01 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-09-05 10:17:02 +0200 |
commit | 9fe1bc685515f9dd281d8d8afe1003da8c793774 (patch) | |
tree | 1d04fbfb8db82623b7b0edcb8fe1f2ae2b6cdcb8 /client/src/app/+about/about-instance/about-instance.component.html | |
parent | 421d935d256db5b77a652d8da0c9a38cb57147ba (diff) | |
download | PeerTube-9fe1bc685515f9dd281d8d8afe1003da8c793774.tar.gz PeerTube-9fe1bc685515f9dd281d8d8afe1003da8c793774.tar.zst PeerTube-9fe1bc685515f9dd281d8d8afe1003da8c793774.zip |
Use badges for instance languages/categories
Diffstat (limited to 'client/src/app/+about/about-instance/about-instance.component.html')
-rw-r--r-- | client/src/app/+about/about-instance/about-instance.component.html | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index c6247c4ae..80acfcce0 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html | |||
@@ -7,26 +7,16 @@ | |||
7 | <div *ngIf="isContactFormEnabled" (click)="openContactModal()" i18n role="button" class="contact-admin">Contact administrator</div> | 7 | <div *ngIf="isContactFormEnabled" (click)="openContactModal()" i18n role="button" class="contact-admin">Contact administrator</div> |
8 | </div> | 8 | </div> |
9 | 9 | ||
10 | <div class="block instance-badges"> | ||
11 | <span *ngFor="let category of categories" class="badge badge-primary category">{{ category }}</span> | ||
12 | |||
13 | <span *ngFor="let language of languages" class="badge badge-secondary language">{{ language }}</span> | ||
14 | </div> | ||
15 | |||
10 | <div class="short-description"> | 16 | <div class="short-description"> |
11 | <div class="block short-description">{{ shortDescription }}</div> | 17 | <div class="block short-description">{{ shortDescription }}</div> |
12 | 18 | ||
13 | <div *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> | 19 | <div *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> |
14 | |||
15 | <div class="block"> | ||
16 | <div class="section-title" *ngIf="languages.length !== 0">Main instance languages</div> | ||
17 | |||
18 | <ul> | ||
19 | <li *ngFor="let language of languages">{{ language }}</li> | ||
20 | </ul> | ||
21 | </div> | ||
22 | |||
23 | <div class="block"> | ||
24 | <div class="section-title" *ngIf="categories.length !== 0">Main instance categories</div> | ||
25 | |||
26 | <ul> | ||
27 | <li *ngFor="let category of categories">{{ category }}</li> | ||
28 | </ul> | ||
29 | </div> | ||
30 | </div> | 20 | </div> |
31 | 21 | ||
32 | <div class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> | 22 | <div class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> |