@@ -1,29 +1,26 | |||||
1 | <h2><%= l(:label_home) %></h2> |
|
1 | <h2><%= l(:label_home) %></h2> | |
2 |
|
2 | |||
3 | <div class="splitcontentleft"> |
|
3 | <div class="splitcontentleft"> | |
4 | <div class="wiki"> |
|
4 | <div class="wiki"> | |
5 | <%= textilizable Setting.welcome_text %> |
|
5 | <%= textilizable Setting.welcome_text %> | |
6 | </div> |
|
6 | </div> | |
7 | <%= call_hook(:view_welcome_index_left) %> |
|
7 | <%= call_hook(:view_welcome_index_left) %> | |
8 | </div> |
|
8 | </div> | |
9 |
|
9 | |||
10 | <%= link_to "Test", "http://foo/test bar" %> |
|
|||
11 | <%= link_to "Test", "http://foo/test%20bar" %> |
|
|||
12 |
|
||||
13 | <div class="splitcontentright"> |
|
10 | <div class="splitcontentright"> | |
14 | <% if @news.any? %> |
|
11 | <% if @news.any? %> | |
15 | <div class="news box"> |
|
12 | <div class="news box"> | |
16 | <h3><%=l(:label_news_latest)%></h3> |
|
13 | <h3><%=l(:label_news_latest)%></h3> | |
17 | <%= render :partial => 'news/news', :collection => @news %> |
|
14 | <%= render :partial => 'news/news', :collection => @news %> | |
18 | <%= link_to l(:label_news_view_all), :controller => 'news' %> |
|
15 | <%= link_to l(:label_news_view_all), :controller => 'news' %> | |
19 | </div> |
|
16 | </div> | |
20 | <% end %> |
|
17 | <% end %> | |
21 | <%= call_hook(:view_welcome_index_right) %> |
|
18 | <%= call_hook(:view_welcome_index_right) %> | |
22 | </div> |
|
19 | </div> | |
23 |
|
20 | |||
24 | <% content_for :header_tags do %> |
|
21 | <% content_for :header_tags do %> | |
25 | <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, |
|
22 | <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, | |
26 | :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %> |
|
23 | :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %> | |
27 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, |
|
24 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, | |
28 | :title => "#{Setting.app_title}: #{l(:label_activity)}") %> |
|
25 | :title => "#{Setting.app_title}: #{l(:label_activity)}") %> | |
29 | <% end %> |
|
26 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now