index.html.erb
26 lines
| 1014 B
| text/plain
|
TextLexer
|
r330 | <h2><%= l(:label_home) %></h2> | ||
<div class="splitcontentleft"> | ||||
|
r14066 | <div class="wiki"> | ||
<%= textilizable Setting.welcome_text %> | ||||
</div> | ||||
|
r14495 | <%= call_hook(:view_welcome_index_left) %> | ||
</div> | ||||
<div class="splitcontentright"> | ||||
|
r875 | <% if @news.any? %> | ||
|
r3065 | <div class="news box"> | ||
|
r7184 | <h3><%=l(:label_news_latest)%></h3> | ||
<%= render :partial => 'news/news', :collection => @news %> | ||||
<%= link_to l(:label_news_view_all), :controller => 'news' %> | ||||
|
r875 | </div> | ||
<% end %> | ||||
|
r14495 | <%= call_hook(:view_welcome_index_right) %> | ||
|
r7217 | </div> | ||
|
r330 | |||
<% content_for :header_tags do %> | ||||
|
r1213 | <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, | ||
:title => "#{Setting.app_title}: #{l(:label_news_latest)}") %> | ||||
|
r3933 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, | ||
|
r1213 | :title => "#{Setting.app_title}: #{l(:label_activity)}") %> | ||
|
r641 | <% end %> | ||