|
@@ -179,7 +179,7 @@ def prepare_header_footer(soup): |
|
|
"html_id": html_id, |
|
|
"html_id": html_id, |
|
|
"css": css, |
|
|
"css": css, |
|
|
"lang": frappe.local.lang, |
|
|
"lang": frappe.local.lang, |
|
|
"layout_direction": "rtl" if is_rtl else "ltr" |
|
|
|
|
|
|
|
|
"layout_direction": "rtl" if is_rtl() else "ltr" |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
# create temp file |
|
|
# create temp file |
|
|