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: ...@@ -32,11 +32,6 @@ class Document:
""" """
_properties = ( _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', { 'id' : 'text_content',
'description' : 'The content of the document considered as a text string', 'description' : 'The content of the document considered as a text string',
'type' : 'text', 'type' : 'text',
......
...@@ -76,5 +76,12 @@ class DublinCore: ...@@ -76,5 +76,12 @@ class DublinCore:
'description' : '', 'description' : '',
'type' : 'string', 'type' : 'string',
'mode' : 'w' }, '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: ...@@ -42,6 +42,12 @@ class SimpleItem:
'translatable': '1', 'translatable': '1',
'translation_domain' : 'erp5_content', 'translation_domain' : 'erp5_content',
}, },
{ 'id' : 'short_title',
'description' : '',
'type' : 'string',
'translatable' : 1,
'translation_domain' : 'erp5_content',
'mode' : 'w' },
{ 'id' : 'description', { 'id' : 'description',
'description' : '', 'description' : '',
'type' : 'text', '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