This commit is contained in:
James Cole
2017-11-18 20:26:57 +01:00
parent cd42399c29
commit 7e66794cf5
5 changed files with 22 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<div class="col-sm-8">
{% if env('MAPBOX_API_KEY','') == '' %}
<p class="text-danger">
{{ trans('mapbox_api_key')|raw }}
{{ trans('firefly.mapbox_api_key')|raw }}
</p>
{% else %}
<div id="{{ name }}_map" style="width:100%;height:300px;"></div>

View File

@@ -130,7 +130,7 @@
{% if not rule.active %}
class="text-muted"
{% endif %}
><br/>{{ rule.description }}</small>
><br/>{{ rule.description|markdown }}</small>
{% endif %}
</td>

View File

@@ -31,7 +31,7 @@
<h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
</div>
<div class="box-body">
{{ ExpandedForm.textarea('description') }}
{{ ExpandedForm.textarea('description', null, {helpText: trans('firefly.field_supports_markdown')}) }}
</div>
</div>
</div>

View File

@@ -30,7 +30,7 @@
<h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
</div>
<div class="box-body">
{{ ExpandedForm.textarea('description') }}
{{ ExpandedForm.textarea('description', null, {helpText: trans('firefly.field_supports_markdown')}) }}
</div>
</div>
</div>