To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / welcome / index.html.erb @ 1531:ae8145b28b2b
History | View | Annotate | Download (1.11 KB)
| 1 |
|
|---|---|
| 2 |
<% if not Setting.notifications_text.empty? %>
|
| 3 |
<div class="notifications flash newsalert"> |
| 4 |
<%= textilizable Setting.notifications_text %>
|
| 5 |
</div>
|
| 6 |
<% end %>
|
| 7 |
|
| 8 |
<div id="welcomepagenews"> |
| 9 |
<% if @site_news.any? %>
|
| 10 |
<div class="news box"> |
| 11 |
<h3><%=l(:label_news_site_latest)%></h3> |
| 12 |
<%= render :partial => 'news/news', :locals => { :project => @site_project }, :collection => @site_news %>
|
| 13 |
<%= link_to l(:label_news_more), { :controller => 'news', :project_id => @site_project.identifier, :action => 'index' } %>
|
| 14 |
</div>
|
| 15 |
<% end %>
|
| 16 |
</div>
|
| 17 |
|
| 18 |
<div id="welcomepage"> |
| 19 |
<%= textilizable Setting.welcome_text %>
|
| 20 |
</div>
|
| 21 |
|
| 22 |
<% content_for :header_tags do %>
|
| 23 |
<%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
| 24 |
:title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
|
| 25 |
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
| 26 |
:title => "#{Setting.app_title}: #{l(:label_activity)}") %>
|
| 27 |
<% end %>
|
| 28 |
|