mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
fix: cleanup about/projects
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
from __future__ import unicode_literals
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
from frappe.website.render import clear_cache as clear_website_cache
|
||||
|
||||
class FoundationProject(Document):
|
||||
pass
|
||||
def validate(self):
|
||||
clear_website_cache()
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<h5>
|
||||
{{ item.title }}
|
||||
</h5>
|
||||
<div>{{ item.description }}</div>
|
||||
<div>{{ html2text(item.description) }}</div>
|
||||
<div class="text-muted mt-3">
|
||||
{{ frappe.format_date(item.project_date) }}
|
||||
<span class='pull-right'>{{ item.status }}</span>
|
||||
|
||||
Reference in New Issue
Block a user