diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py index 52019838..5fb4a7d8 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/foundation_fellowship.py @@ -7,9 +7,10 @@ import frappe from frappe.website.website_generator import WebsiteGenerator class FoundationFellowship(WebsiteGenerator): - _website = frappe._dict( - condition_field = "show_in_website", + website = frappe._dict( + condition_field = "show_in_website" ) + print( "website", website ) def validate(self): if not self.route: self.route = 'foundation-fellow/' + self.scrub(self.name) @@ -26,4 +27,4 @@ def get_list_context(context): context.no_cache = True context.no_breadcrumbs = True context.order_by = 'creation desc' - context.introduction = '

Following are the Foundation Fellows

' \ No newline at end of file + context.introduction = '

Following are the Foundation Fellows

' diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html index bdfc1cbc..33cf49fd 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship.html @@ -44,7 +44,6 @@ Website - {{ website }} diff --git a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html index b6408e96..8856b485 100644 --- a/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html +++ b/foundation/erpnext_foundation/doctype/foundation_fellowship/templates/foundation_fellowship_row.html @@ -1,5 +1,5 @@
-
+