You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.erb 1014B

1234567891011121314151617181920212223242526
  1. <h2><%= l(:label_home) %></h2>
  2. <div class="splitcontentleft">
  3. <div class="wiki">
  4. <%= textilizable Setting.welcome_text %>
  5. </div>
  6. <%= call_hook(:view_welcome_index_left) %>
  7. </div>
  8. <div class="splitcontentright">
  9. <% if @news.any? %>
  10. <div class="news box">
  11. <h3><%=l(:label_news_latest)%></h3>
  12. <%= render :partial => 'news/news', :collection => @news %>
  13. <%= link_to l(:label_news_view_all), :controller => 'news' %>
  14. </div>
  15. <% end %>
  16. <%= call_hook(:view_welcome_index_right) %>
  17. </div>
  18. <% content_for :header_tags do %>
  19. <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
  20. :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
  21. <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
  22. :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
  23. <% end %>