diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-23 10:05:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-23 10:05:17 +0100 |
commit | 621d99f53f47a11919ec243e05273ecf5907b444 (patch) | |
tree | dcd0d0ccc21bad4065bf49e2df3e641ffa18fee1 /client/src/app/videos/+video-edit | |
parent | 8a8e02a43e346b9b777c8192a7c5cbdccb928b11 (diff) | |
download | PeerTube-621d99f53f47a11919ec243e05273ecf5907b444.tar.gz PeerTube-621d99f53f47a11919ec243e05273ecf5907b444.tar.zst PeerTube-621d99f53f47a11919ec243e05273ecf5907b444.zip |
Better help on markdown fields
Diffstat (limited to 'client/src/app/videos/+video-edit')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index f88abcbf8..f4ec4f95c 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html | |||
@@ -20,7 +20,8 @@ | |||
20 | </div> | 20 | </div> |
21 | 21 | ||
22 | <div class="form-group"> | 22 | <div class="form-group"> |
23 | <label for="description">Description</label> <my-help helpType="markdownText"></my-help> | 23 | <label for="description">Description</label> |
24 | <my-help helpType="markdownText" preHtml="Video descriptions are truncated by default and require manual action to expand them."></my-help> | ||
24 | <my-markdown-textarea truncate="250" formControlName="description"></my-markdown-textarea> | 25 | <my-markdown-textarea truncate="250" formControlName="description"></my-markdown-textarea> |
25 | 26 | ||
26 | <div *ngIf="formErrors.description" class="form-error"> | 27 | <div *ngIf="formErrors.description" class="form-error"> |
@@ -127,7 +128,8 @@ | |||
127 | </div> | 128 | </div> |
128 | 129 | ||
129 | <div class="form-group"> | 130 | <div class="form-group"> |
130 | <label for="support">Support</label><my-help helpType="markdownEnhanced"></my-help> | 131 | <label for="support">Support</label> |
132 | <my-help helpType="markdownEnhanced" preHtml="Short text to tell to people how they can support you (membership platform...)."></my-help> | ||
131 | <my-markdown-textarea | 133 | <my-markdown-textarea |
132 | id="support" formControlName="support" textareaWidth="500px" [previewColumn]="true" markdownType="enhanced" | 134 | id="support" formControlName="support" textareaWidth="500px" [previewColumn]="true" markdownType="enhanced" |
133 | [classes]="{ 'input-error': formErrors['support'] }" | 135 | [classes]="{ 'input-error': formErrors['support'] }" |