Commit 2f29f638 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Moved short_title to DublinCore and SimpleItem

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10101 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffca2144
......@@ -32,11 +32,6 @@ class Document:
"""
_properties = (
{ 'id' : 'short_title',
'description' : 'A short title which can be used for user interface in web sites',
'type' : 'text',
'mode' : 'w'
},
{ 'id' : 'text_content',
'description' : 'The content of the document considered as a text string',
'type' : 'text',
......
......@@ -76,5 +76,12 @@ class DublinCore:
'description' : '',
'type' : 'string',
'mode' : 'w' },
# Extended properties specific to ERP5 - not part of DublinCore
{ 'id' : 'short_title',
'description' : '',
'type' : 'string',
'translatable' : 1,
'translation_domain' : 'erp5_content',
'mode' : 'w' },
)
......@@ -42,6 +42,12 @@ class SimpleItem:
'translatable': '1',
'translation_domain' : 'erp5_content',
},
{ 'id' : 'short_title',
'description' : '',
'type' : 'string',
'translatable' : 1,
'translation_domain' : 'erp5_content',
'mode' : 'w' },
{ 'id' : 'description',
'description' : '',
'type' : 'text',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment