Changeset 1883 in products


Ignore:
Timestamp:
Mar 11, 2010 12:43:55 PM (14 years ago)
Author:
liebster
Message:

Changing order of the fields in configlet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/browser/seo_configlet.py

    r1847 r1883  
    2525# Configlet schema 
    2626class ISEOConfigletSchema(Interface): 
    27      
     27 
    2828    exposeDCMetaTags = Bool( 
    2929        title=_("label_exposeDCMetaTags", 
     
    3535                    'others.'), 
    3636        default=True, 
    37         required=False) 
    38  
    39     default_custom_metatags = List( 
    40         title=_("label_default_custom_metatags", default='Default custom metatags.'), 
    41         description=_("help_default_custom_metatags", 
    42                 default='Fill in custom metatag names (one per line) which will' 
    43                     'appear on qseo_properties edit tab. Example: ' 
    44                     '"metaname|metacontent" or "metaname".'), 
    4537        required=False) 
    4638 
     
    6456            vocabulary="plone.app.vocabularies.ReallyUserFriendlyTypes")) 
    6557 
     58    default_custom_metatags = List( 
     59        title=_("label_default_custom_metatags", default='Default custom metatags.'), 
     60        description=_("help_default_custom_metatags", 
     61                default='Fill in custom metatag names (one per line) which will' 
     62                    'appear on qseo_properties edit tab. Example: ' 
     63                    '"metaname|metacontent" or "metaname".'), 
     64        required=False) 
    6665 
    6766 
     
    8887        ct_with_seo = self.context.content_types_with_seoproperties 
    8988        return [t for t in self.ttool.listContentTypes() if t in ct_with_seo] 
    90      
     89 
    9190    def setTypesSEOEnabled(self, value): 
    9291        value = [t for t in self.ttool.listContentTypes() if t in value] 
     
    9897    metatags_order = ProxyFieldProperty(ISEOConfigletSchema['metatags_order']) 
    9998    types_seo_enabled = property(getTypesSEOEnabled, setTypesSEOEnabled) 
    100      
     99 
    101100 
    102101class SmallTextAreaWidget(TextAreaWidget): 
Note: See TracChangeset for help on using the changeset viewer.