New nodes_latest and nodes_featured for project node type

This commit is contained in:
2015-10-14 01:38:59 +02:00
parent d26b3a738a
commit 5d6327844b

View File

@@ -481,6 +481,20 @@ def populate_node_types(old_ids={}):
'summary': { 'summary': {
'type': 'string', 'type': 'string',
'maxlength': 128 'maxlength': 128
},
# Latest nodes being edited
'nodes_latest': {
'type': 'list',
'schema': {
'type': 'objectid',
}
},
# Featured nodes, manually added
'nodes_featured': {
'type': 'list',
'schema': {
'type': 'objectid',
}
} }
}, },
'form_schema': { 'form_schema': {
@@ -502,6 +516,8 @@ def populate_node_types(old_ids={}):
}, },
} }
}, },
'nodes_featured': {},
'nodes_latest': {}
}, },
'permissions': { 'permissions': {
'groups': [{ 'groups': [{