<% if environment.enabled?('display_wizard_signup') && !logged_in? %> <%= lightbox_button(:new, _('Signup'), { :controller => 'account', :action => 'wizard' }, :class => 'wizard', :id => 'signup-wizard') %> <% end %> <% if @has_news %>

<%= _('News') %>

<% cache @news_cache_key do %>
<% @highlighted_news.each_with_index do |highlighted, index| %>

<%= link_to(highlighted.title, highlighted.url, :class => 'post-title') %>

<%= highlighted.first_paragraph %>

<%= link_to(_('Read more'), highlighted.url) %>


<% end%>
<% @area_news.each_with_index do |folder, i| %> <% content_tag(:div, :class => ["news-area", ['even', 'odd'][i%2]].join(' ')) do %>

<%= link_to folder.title, folder.url %>

<%= link_to _('View more'), folder.url, :class => 'news-see-more' %> <%end %> <% end %> <% end %> <% else %> <%= environment.description %> <% end %> <% if environment.enabled?('search_in_home') %> <% end %>