aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/markdown-textarea.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-01 16:52:59 +0200
committerChocobozzz <me@florianbigard.com>2020-04-01 16:52:59 +0200
commit45c6bcf312d2e9578501eaaf7511183bc570fe91 (patch)
tree6f526b1e132f532efa0916765222d260618f8095 /client/src/app/shared/forms/markdown-textarea.component.html
parentd96994289b24c4bbd056660c5fe11fff0f77635e (diff)
downloadPeerTube-45c6bcf312d2e9578501eaaf7511183bc570fe91.tar.gz
PeerTube-45c6bcf312d2e9578501eaaf7511183bc570fe91.tar.zst
PeerTube-45c6bcf312d2e9578501eaaf7511183bc570fe91.zip
Remove deprecated NgbTabsetModule module
Diffstat (limited to 'client/src/app/shared/forms/markdown-textarea.component.html')
-rw-r--r--client/src/app/shared/forms/markdown-textarea.component.html26
1 files changed, 18 insertions, 8 deletions
diff --git a/client/src/app/shared/forms/markdown-textarea.component.html b/client/src/app/shared/forms/markdown-textarea.component.html
index 0925b9ad5..fb6e1343d 100644
--- a/client/src/app/shared/forms/markdown-textarea.component.html
+++ b/client/src/app/shared/forms/markdown-textarea.component.html
@@ -5,13 +5,23 @@
5 [id]="name" [name]="name"> 5 [id]="name" [name]="name">
6 </textarea> 6 </textarea>
7 7
8 <ngb-tabset *ngIf="arePreviewsDisplayed()" class="previews" type="pills"> 8 <div ngbNav #nav="ngbNav" class="nav-pills previews">
9 <ngb-tab *ngIf="truncate !== undefined" i18n-title title="Truncated preview"> 9 <ng-container ngbNavItem *ngIf="truncate !== undefined">
10 <ng-template ngbTabContent><div [innerHTML]="truncatedPreviewHTML"></div></ng-template> 10 <a ngbNavLink i18n>Truncated preview</a>
11 </ngb-tab>
12 11
13 <ngb-tab i18n-title title="Complete preview"> 12 <ng-template ngbNavContent>
14 <ng-template ngbTabContent><div [innerHTML]="previewHTML"></div></ng-template> 13 <div [innerHTML]="truncatedPreviewHTML"></div>
15 </ngb-tab> 14 </ng-template>
16 </ngb-tabset> 15 </ng-container>
16
17 <ng-container ngbNavItem>
18 <a ngbNavLink i18n>Complete preview</a>
19
20 <ng-template ngbNavContent>
21 <div [innerHTML]="previewHTML"></div>
22 </ng-template>
23 </ng-container>
24 </div>
25
26 <div [ngbNavOutlet]="nav"></div>
17</div> 27</div>