From 64126b1b0ac84a630468fb1011c9e85ff27902e4 Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Fri, 27 Apr 2018 16:26:14 +0530 Subject: [PATCH] Fix event html2text --- .../templates/portal_event_row.html | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/foundation/erpnext_foundation/doctype/portal_event/templates/portal_event_row.html b/foundation/erpnext_foundation/doctype/portal_event/templates/portal_event_row.html index 29730919..2fa9d4d3 100644 --- a/foundation/erpnext_foundation/doctype/portal_event/templates/portal_event_row.html +++ b/foundation/erpnext_foundation/doctype/portal_event/templates/portal_event_row.html @@ -1,11 +1,16 @@ -
- -

{{ doc.event_title }}

-

- {{ doc.place }} - {{ frappe.format_date(date) }} -

-

- {{ html2text(doc.details[:200]) }}{% if doc.details|len > 200 %}...{% endif %}

-
-
\ No newline at end of file +
+
+
+ +

{{ doc.event_title }}

+
+

+ {{ doc.place }} + {{ frappe.format_date(date) }} +

+

+ {{ html2text(doc.details) | truncate(200) }} +

+
+
+