mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 02:16:28 +00:00
Merge pull request #18631 from netchampfaris/fix-item-template-description
fix(Item Template): Fallback description string
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
</p>
|
||||
<!-- description -->
|
||||
<div itemprop="description">
|
||||
{% if frappe.utils.strip_html(doc.web_long_description) %}
|
||||
{% if frappe.utils.strip_html(doc.web_long_description or '') %}
|
||||
{{ doc.web_long_description | safe }}
|
||||
{% elif frappe.utils.strip_html(doc.description) %}
|
||||
{% elif frappe.utils.strip_html(doc.description or '') %}
|
||||
{{ doc.description | safe }}
|
||||
{% else %}
|
||||
{{ _("No description given") }}
|
||||
|
||||
Reference in New Issue
Block a user