adjust help component, fix its instances in video-edit

pull/3039/head
Rigel Kent 2020-08-05 11:23:37 +02:00
parent 830c762bb6
commit 9e8929d633
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
2 changed files with 17 additions and 5 deletions

View File

@ -23,7 +23,7 @@
<ng-container i18n>
Tags could be used to suggest relevant recommendations. <br />
There is a maximum of 5 tags. <br />
Press Enter to add a new tag.
Press <kbd>Enter</kbd> to add a new tag.
</ng-container>
</ng-template>
</my-help>
@ -230,7 +230,13 @@
<div class="form-group">
<label i18n for="support">Support</label>
<my-help helpType="markdownEnhanced" i18n-preHtml preHtml="Short text to tell people how they can support you (membership platform...)."></my-help>
<my-help helpType="markdownEnhanced">
<ng-template ptTemplate="preHtml">
<ng-container i18n>
Short text to tell people how they can support you (membership platform...).
</ng-container>
</ng-template>
</my-help>
<my-markdown-textarea
id="support" formControlName="support" markdownType="enhanced"
[classes]="{ 'input-error': formErrors['support'] }"
@ -244,7 +250,13 @@
<div class="col-md-12 col-xl-4">
<div class="form-group originally-published-at">
<label i18n for="originallyPublishedAt">Original publication date</label>
<my-help i18n-preHtml preHtml="This is the date when the content was originally published (e.g. the release date for a film)"></my-help>
<my-help>
<ng-template ptTemplate="preHtml">
<ng-container i18n>
This is the date when the content was originally published (e.g. the release date for a film)
</ng-container>
</ng-template>
</my-help>
<p-calendar
id="originallyPublishedAt" formControlName="originallyPublishedAt" [dateFormat]="calendarDateFormat"
[locale]="calendarLocale" [showTime]="true" [hideOnDateTimeSelect]="true" [monthNavigator]="true" [yearNavigator]="true" [yearRange]="myYearRange"

View File

@ -8,10 +8,10 @@
my-global-icon {
width: 17px;
position: relative;
top: -2px;
top: -1px;
margin: 5px;
@include apply-svg-color(pvar(--mainForegroundColor))
@include apply-svg-color(pvar(--greyForegroundColor))
}
}