From aa83a9cb9f65b6ac5d21fb722752e1abd0fba92b Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 10 Dec 2010 13:54:29 -0300 Subject: [PATCH] Allowing standalone feeds to be language-specific --- app/views/cms/_rss_feed.rhtml | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/views/cms/_rss_feed.rhtml b/app/views/cms/_rss_feed.rhtml index 24e3b4a..f99efaa 100644 --- a/app/views/cms/_rss_feed.rhtml +++ b/app/views/cms/_rss_feed.rhtml @@ -4,6 +4,8 @@ <%= required labelled_form_field(_('Limit of articles'), text_field(:article, :limit)) %> +<%= labelled_form_field(_('Include in RSS Feed only posts from language:'), f.select(:language, [[_('All'), nil ]] + Noosfero.locales.map { |k,v| [v, k]})) %> + <%= labelled_form_field(_('Use as item description:'), select(:article, :feed_item_description, [ [ _('Article abstract'), 'abstract'], [ _('Article body'), 'body']])) %> <%= labelled_form_field(_('Include in the feed:'), select(:article, :include, [ [ _('All articles'), 'all' ], [ _('Only articles child of the same article as the feed'), 'parent_and_children']] )) %> -- libgit2 0.21.2