Commit aa83a9cb9f65b6ac5d21fb722752e1abd0fba92b

Authored by Antonio Terceiro
1 parent 132a097a

Allowing standalone feeds to be language-specific

(ActionItem894)
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/views/cms/_rss_feed.rhtml
... ... @@ -4,6 +4,8 @@
4 4  
5 5 <%= required labelled_form_field(_('Limit of articles'), text_field(:article, :limit)) %>
6 6  
  7 +<%= labelled_form_field(_('Include in RSS Feed only posts from language:'), f.select(:language, [[_('All'), nil ]] + Noosfero.locales.map { |k,v| [v, k]})) %>
  8 +
7 9 <%= labelled_form_field(_('Use as item description:'), select(:article, :feed_item_description, [ [ _('Article abstract'), 'abstract'], [ _('Article body'), 'body']])) %>
8 10  
9 11 <%= 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']] )) %>
... ...