Skip to content

Commit

Permalink
Fix Boolean Fields
Browse files Browse the repository at this point in the history
- ISiteSyndicationSettings, IFeedSettings
  • Loading branch information
1letter committed Jun 30, 2022
1 parent f805e7d commit cdc7fd0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/plone/base/interfaces/syndication.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class ISiteSyndicationSettings(Interface):
title=_("Allowed"),
description=_("Allow syndication for collections and folders " "on site."),
default=True,
required=False
)

default_enabled = schema.Bool(
Expand All @@ -143,18 +144,21 @@ class ISiteSyndicationSettings(Interface):
"folders and collections."
),
default=False,
required=False
)

search_rss_enabled = schema.Bool(
title=_("Search RSS enabled"),
description=_("Allows users to subscribe to feeds of search results"),
default=True,
required=False
)

show_author_info = schema.Bool(
title=_("Show author info"),
description=_("Should feeds include author information"),
default=True,
required=False
)

render_body = schema.Bool(
Expand All @@ -165,6 +169,7 @@ class ISiteSyndicationSettings(Interface):
"render it, otherwise use description.",
),
default=False,
required=False
)

max_items = schema.Int(
Expand Down Expand Up @@ -209,13 +214,17 @@ class ISiteSyndicationSettings(Interface):
"Makes it possible to customize syndication settings "
"for particular folders and collections "
),
default=False,
required=False
)

show_syndication_link = schema.Bool(
title=_("Show feed link"),
description=_(
"Enable RSS link document action on the syndication " "content item."
),
default=False,
required=False
)


Expand All @@ -241,6 +250,7 @@ class IFeedSettings(Interface):
"render it, otherwise use description.",
),
default=False,
required=False
)

max_items = schema.Int(
Expand Down

0 comments on commit cdc7fd0

Please sign in to comment.