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
|
from __future__ import unicode_literals
|
||||||
# import frappe
|
# import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
from frappe.website.render import clear_cache as clear_website_cache
|
||||||
|
|
||||||
class FoundationProject(Document):
|
class FoundationProject(Document):
|
||||||
pass
|
def validate(self):
|
||||||
|
clear_website_cache()
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<h5>
|
<h5>
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</h5>
|
</h5>
|
||||||
<div>{{ item.description }}</div>
|
<div>{{ html2text(item.description) }}</div>
|
||||||
<div class="text-muted mt-3">
|
<div class="text-muted mt-3">
|
||||||
{{ frappe.format_date(item.project_date) }}
|
{{ frappe.format_date(item.project_date) }}
|
||||||
<span class='pull-right'>{{ item.status }}</span>
|
<span class='pull-right'>{{ item.status }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user