Explorar el Código

[website] [sitemap] cleanup

version-14
Rushabh Mehta hace 11 años
padre
commit
fe665d78a2
Se han modificado 6 ficheros con 169 adiciones y 0 borrados
  1. +0
    -0
      website/doctype/website_sitemap/__init__.py
  2. +11
    -0
      website/doctype/website_sitemap/website_sitemap.py
  3. +62
    -0
      website/doctype/website_sitemap/website_sitemap.txt
  4. +0
    -0
      website/doctype/website_sitemap_config/__init__.py
  5. +11
    -0
      website/doctype/website_sitemap_config/website_sitemap_config.py
  6. +85
    -0
      website/doctype/website_sitemap_config/website_sitemap_config.txt

+ 0
- 0
website/doctype/website_sitemap/__init__.py Ver fichero


+ 11
- 0
website/doctype/website_sitemap/website_sitemap.py Ver fichero

@@ -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

+ 62
- 0
website/doctype/website_sitemap/website_sitemap.txt Ver fichero

@@ -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"
}
]

+ 0
- 0
website/doctype/website_sitemap_config/__init__.py Ver fichero


+ 11
- 0
website/doctype/website_sitemap_config/website_sitemap_config.py Ver fichero

@@ -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

+ 85
- 0
website/doctype/website_sitemap_config/website_sitemap_config.txt Ver fichero

@@ -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
}
]

Cargando…
Cancelar
Guardar