mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 11:56:32 +02:00
Allow translating field description fix #729
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
* Hide tab when user is not authorized to access it [#712](https://github.com/getgrav/grav-plugin-admin/issues/712)
|
||||
* Fixed Lists issue when reindexing, causing Radio fields to potentially lose their `checked` status
|
||||
* Avoid overwriting a file when uploaded with the same filename through the Admin blueprint `file` field type if `avoid_overwriting` is enabled on the field
|
||||
* Translate the description of a blueprint field [#729](https://github.com/getgrav/grav-plugin-admin/issues/729)
|
||||
|
||||
# v1.1.2
|
||||
## 07/16/2016
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
{% endblock %}
|
||||
{% if field.description %}
|
||||
<div class="form-extra-wrapper {{ field.size }} {{ field.wrapper_classes }}">
|
||||
<span class="form-description">{{ field.description|raw }}</span>
|
||||
<span class="form-description">{{ field.description|tu|raw }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user