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