Fixed some 'medium' tags in select fields and fixed fa-question-circle icon in blueprint with markdown option and some text in help option (#2376)

* Fixed some select medium size

* question-circle icon added to fields with markdown option

In blueprints.yaml, when a field has the mardown option defined and the help with some text option, the fa-question-circle icon is not displayed.
This commit is contained in:
pmoreno.rodriguez
2023-11-08 13:18:30 +01:00
committed by GitHub
parent 9d5598b7e7
commit 873d5791e3
2 changed files with 4 additions and 4 deletions

View File

@@ -554,7 +554,7 @@ form:
whitelabel.color_scheme.accents.primary-accent:
type: select
size: meidum
size: medium
classes: fancy
label: PLUGIN_ADMIN.PRIMARY_ACCENT_LABEL
help: PLUGIN_ADMIN.PRIMARY_ACCENT_HELP
@@ -572,7 +572,7 @@ form:
whitelabel.color_scheme.accents.secondary-accent:
type: select
size: meidum
size: medium
classes: fancy
label: PLUGIN_ADMIN.SECONDARY_ACCENT_LABEL
help: PLUGIN_ADMIN.SECONDARY_ACCENT_HELP
@@ -590,7 +590,7 @@ form:
whitelabel.color_scheme.accents.tertiary-accent:
type: select
size: meidum
size: medium
classes: fancy
label: PLUGIN_ADMIN.TERTIARY_ACCENT_LABEL
help: PLUGIN_ADMIN.TERTIARY_ACCENT_HELP

View File

@@ -46,7 +46,7 @@
{% block label %}
{% if field.help %}
{% if field.markdown %}
<span class="hint--bottom" data-hint="{{ field.help|t|markdown(false) }}">{{ field.label|t|markdown(false)|raw }}</span>
<span class="hint--bottom" data-hint="{{ field.help|t|markdown(false) }}">{{ field.label|t|markdown(false)|raw }}</span> <i class="hint-icon fa fa-question-circle" aria-hidden="true"></i></span>
{% else %}
<span class="hint--bottom" data-hint="{{ field.help|t }}">{{ field.label|t|raw }} <i class="hint-icon fa fa-question-circle" aria-hidden="true"></i></span>
{% endif %}