[Fix] Desktop icon page not showing for french language (#4518)
This commit is contained in:
parent
84aa0a6b33
commit
922b1237e7
2 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<label>
|
||||
<input type="checkbox" data-module="{{ icon.module_name }}" class="module-select"
|
||||
{% if not (icon.hidden if user else icon.blocked) %}checked{% endif %}>
|
||||
{{ _(icon.label or icon.module_name) }}
|
||||
{{ frappe.db.escape(_(icon.label or icon.module_name)) }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ def get_allowed_functions_for_jenv():
|
|||
out['frappe']["db"] = {
|
||||
"get_value": frappe.db.get_value,
|
||||
"get_default": frappe.db.get_default,
|
||||
"escape": frappe.db.escape,
|
||||
}
|
||||
|
||||
return out
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue