This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[Fix] Desktop icon page not showing for french language (
#4518
)
version-14
rohitwaghchaure
7 years ago
committed by
Rushabh Mehta
parent
84aa0a6b33
commit
922b1237e7
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/core/page/modules_setup/includes/module_icons.html
+1
-0
frappe/utils/jinja.py
+ 1
- 1
frappe/core/page/modules_setup/includes/module_icons.html
View File
@@ -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>
+ 1
- 0
frappe/utils/jinja.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save