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 @ 1342:041b794f2a31
History | View | Annotate | Download (1.11 KB)
| 1 | 1319:5490d6392ee3 | chris | |
|---|---|---|---|
| 2 | 48:8032b626953b | luisf | <% if not Setting.notifications_text.empty? %>
|
| 3 | 1319:5490d6392ee3 | chris | <div class="notifications flash newsalert"> |
| 4 | <%= textilizable Setting.notifications_text %>
|
||
| 5 | 48:8032b626953b | luisf | </div>
|
| 6 | <% end %>
|
||
| 7 | 47:22ae926000f9 | luisf | |
| 8 | 1342:041b794f2a31 | chris | <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 | 1319:5490d6392ee3 | chris | <div id="welcomepage"> |
| 19 | <%= textilizable Setting.welcome_text %>
|
||
| 20 | </div>
|
||
| 21 | 42:df605e25de58 | luisf | |
| 22 | 0:513646585e45 | Chris | <% 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 | 22:40f7cfd4df19 | chris | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
|
| 26 | 0:513646585e45 | Chris | :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
|
| 27 | <% end %>
|