Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.html.erb 1.0KB

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