New nodes_latest and nodes_featured for project node type
This commit is contained in:
@@ -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': [{
|
||||||
|
Reference in New Issue
Block a user