[website] [sitemap] cleanup

This commit is contained in:
Rushabh Mehta 2013-11-18 19:27:57 +05:30
parent da36fac493
commit fe665d78a2
6 changed files with 169 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# MIT License. See license.txt
# For license information, please see license.txt
from __future__ import unicode_literals
import webnotes
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl

View file

@ -0,0 +1,62 @@
[
{
"creation": "2013-11-18 15:38:40",
"docstatus": 0,
"modified": "2013-11-18 18:37:30",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"autoname": "field:page_name",
"doctype": "DocType",
"module": "Website",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Website Sitemap",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"doctype": "DocType",
"name": "Website Sitemap"
},
{
"doctype": "DocField",
"fieldname": "page_or_generator",
"fieldtype": "Select",
"label": "Page or Generator",
"options": "Page\nGenerator",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "page_name",
"fieldtype": "Data",
"label": "Page Name",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "docname",
"fieldtype": "Data",
"label": "Docname",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "lastmod",
"fieldtype": "Data",
"label": "Lastmod"
},
{
"doctype": "DocField",
"fieldname": "website_sitemap_config",
"fieldtype": "Link",
"label": "Website Sitemap Config",
"options": "Website Sitemap Config"
}
]

View file

@ -0,0 +1,11 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# MIT License. See license.txt
# For license information, please see license.txt
from __future__ import unicode_literals
import webnotes
class DocType:
def __init__(self, d, dl):
self.doc, self.doclist = d, dl

View file

@ -0,0 +1,85 @@
[
{
"creation": "2013-11-18 15:35:00",
"docstatus": 0,
"modified": "2013-11-18 18:36:01",
"modified_by": "Administrator",
"owner": "Administrator"
},
{
"autoname": "field:link_name",
"doctype": "DocType",
"document_type": "System",
"module": "Website",
"name": "__common__"
},
{
"doctype": "DocField",
"name": "__common__",
"parent": "Website Sitemap Config",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"doctype": "DocType",
"name": "Website Sitemap Config"
},
{
"doctype": "DocField",
"fieldname": "page_or_generator",
"fieldtype": "Select",
"label": "Page or Generator",
"options": "Page\nGenerator",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "ref_doctype",
"fieldtype": "Link",
"label": "Ref DocType",
"options": "DocType",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "link_name",
"fieldtype": "Data",
"label": "Link Name",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "template_path",
"fieldtype": "Data",
"label": "Template Path",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "controller",
"fieldtype": "Data",
"label": "Controller",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "lastmod",
"fieldtype": "Data",
"label": "Lastmod"
},
{
"doctype": "DocField",
"fieldname": "no_cache",
"fieldtype": "Check",
"label": "No Cache",
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "no_sitemap",
"fieldtype": "Check",
"label": "No Sitemap",
"read_only": 1
}
]